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.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
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!