Mohsen Farghadani / Profile
Mohsen Farghadani
Added topic Multi Time Frame Indicators Problem in Closed Market
Hi, I have this sample code for the MTF RSI indicator. The first thing we check in onCalculate is whether the number of bars calculated by the RSI handle matches the number of bars in the selected timeframe. If they don’t match, the function returns
Mohsen Farghadani
Added topic mql5 different behavior of iMA() function in script and in custom indicator
hi this code is mql5 script and print the ma value of D1 period and work as it expected: void OnStart () { int mahandle; mahandle= iMA ( NULL , PERIOD_D1 , 1 , 0 , MODE_SMA , PRICE_MEDIAN ); double mavalue[ 1 ];
: