Forum

Trouble with Leverage Setting

Hello, when using Strategy Tester, my leverage shows the correct amount selected, but it doesn't seem to apply. Leverage states 1:1 when tester is launched. For 212 lots @ $47, thats around $10k and margin should reflect that with 1:1. Looks like its showing 5:1 for some reason

Using Skew/Kurtosis for Trading Ideas

Has anyone used skew/kurtosis indicators in trading? I've developed an indicator that calculates both metrics using a VWAP as the average to calculate skew/kurtosis. Visually it has been interesting but I've failed to see how I can develop this further. Anyone interested

Higher Moment Predictive Strategy

I'm interested if anyone has experience using skew and kurtosis parameters? i.e. kurtosis spikes generally signal tops and bottom while skew can determine direction. I have built an indicator to view but want to implement into a fully auto strategy. Would love to collab on how to properly define the

CopyBuffer Getting Different Values Than Indicator

Data Window does not matchup to EA values I'm getting from CopyBuffer. Sometimes it works then sometimes it gets off values. Any ideas?? int OnInit () { Trade = new CTrade(); y= 0 ; ArraySetAsSeries (EUR, true ); ArraySetAsSeries (GBP, true ); ArraySetAsSeries (AUD, true

Indicator drops calculations and puts constant value in buffer

Indicator tests fine with no issues but when put on live charts it periodically behaves different and values in buffer drop to some constant //+------------------------------------------------------------------+ //| VWAP_Dayly.mq5 | //|

CANNOT LOAD .ini file from Command Prompt!!!!!!!!!!!!!!!!!!!!!!!

Trying to run strategy tester from Command Promt. While I can get the terminal to start, the Strategy Tester does not load or start. I have tried everything related in the forum to no avail. Please Help!!! "C:\Program Files (x86)\FX MT4 Terminal\terminal.exe"

Get indicator to get values for whole chart!!!

I am currently working on a VWAP indicator that starts calculating at the beginning of each week. I can get the indicator to restart each week and continue into future but cannot figure out how to correctly loop through all bars to get past values. Please help

HELP! Vertical Line drawn at beginning of indicator calculation

I had to convert my indicator from mql5 to mql4 and finally got it working except for having a vertical line drawn at the beginning of the indicator buffer start. Dont think it messes with calculations just looks bad. I am only getting one value on the start index so cannot figure why this is

How to update indicator when new bars appear

My custom indicator does not update with new bars. I tried to create a handle that I can use with CopyBuffer() to increment the bars to no avail. Not sure if correct method so I deleted it from source code. Please help

Can't figure what is wrong?

My expert advisor compiles fine, but wont load on the tester. I created a second EA that used ChartIndicatorAdd() thinking that may be the reason the indicator isn't loading properly but same results. It is an unusual indicator because it has a user-defined starting point to calculate the signal