How to define a BAr........

 

Hi Guys,

I dont now the MLQ programming very well....please help me...

How can I define a BAR as "X" and if the price goes below the X the go short...I dont know how can I put a phrase into the EA...

Thanks

Babar

 

you need to defind the close or open or high or low of the bar first

then specific the current useing price like close or bid

ie i use the close price of the before bar as a refference and when current close go below the close price of the before bar send short order , like this

hope this help