Disliked{quote} I looked into more detail and I think your checking if this is opening hour is not correct also. if( TimeHour(bartime ) == MarketOpen ) above checks if "hour is 0" But if you are using lessor time frame than H1, there will be many bars meets this condition. Please check how you decide which bar is correct bar. if you are checking current bar as starting of new session, below should work also. double HighCandleOne=iHigh(NULL,PERIOD_M30,i); double LowCandleOne=iLow(NULL,PERIOD_M30,i); double Range= (HighCandleOne - LowCandleOne)*Point; double...Ignored
Disliked{quote} I put the code as mentioned above here and the indicator no longer works, I'm sorry about all this, I'm not a coder and this is all confusing to me.Ignored
Hello Sandile,
With the help of formula ginen by BlueRain, I tried to modified the indicator which was modified by BlueRain, under this link
Regards,
Moti
Attached File