As far as I understand it, it searches now for the highest high/lowest low in form of a bar number within a period and then gets the quote for
this bar:
I want to change this to get the close of the current bar and the open of a number of bars before (15) this bar so I did try this but it doesnt
seem to work anyhow :/
//H=close(Symbol(),Period(),i);
//L=open(Symbol(),Period(),i+15);
Any help would be very appreciated!
Thank you very much :)
Edit: I did figure it out on my own by now thx anyways.
I want to change following code snippet.
As far as I understand it, it searches now for the highest high/lowest low in form of a bar number within a period and then gets the quote for this bar:
for(i=limit_ln;i<rates_total && !IsStopped();i++)
}
I want to change this to get the close of the current bar and the open of a number of bars before (15) this bar so I did try this but it doesnt seem to work anyhow :/
//H=close(Symbol(),Period(),i);
//L=open(Symbol(),Period(),i+15);
Any help would be very appreciated!