MT4 pip parameter

[Deleted]  

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.

 

Don't double post! You already had another thread open.

          General rules and best pratices of the Forum. - General - MQL5 programming forum (2017)