Putting together parameters for a buy or sell; stuck on, a parameter where the points/pip are counted when the bar is closed, then trades when a expected number of points are counted from the bar.
eg,
the parameters i've used are:
//Buy
If(Close[1]+0.0001)
//Sell
If(Close[1]-0.0001)
//there is also
If(Close[1]-Close[2]) && ((Close[1]-Close[2])>-0.0001) <-- but its not working in the sell direction.
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.
Hi,
Putting together parameters for a buy or sell; stuck on, a parameter where the points/pip are counted when the bar is closed, then trades when a expected number of points are counted from the bar.
eg,
the parameters i've used are:
//Buy
If(Close[1]+0.0001)
//Sell
If(Close[1]-0.0001)
//there is also
If(Close[1]-Close[2]) && ((Close[1]-Close[2])>-0.0001) <-- but its not working in the sell direction.