NewTrade269 / Publications
Forum
Rectangle size and first bar data are not correct
Hi all, I have tried to make an EA that draw a rectangle every 4 bars (can be x bars) and calculate the range of the 4 bars, but It seems to miss with the high or low of the first bar. Any clue how to fix it? input string Start_Time; input int Risk_Size; void OnTick () { int x; static int