Download MetaTrader 5

Converting SELLSHORT & BUY with LIMIT from TradeStation Easy Language into MT4

To add comments, please log in or register
Winsor Hoang
4927
Winsor Hoang  
Hi there,

I have the EL codes below that I would like to convert to MQL4. What is the best way of implementing the limit? Do I create an Order Limit in MT4 and then delete it afterward if the price does not hit? 

 

SELLSHORT ("Sell Entry") 1 CONTRACT NEXT BAR VarSelect_A-0.5 LIMIT ;

BUY ("Buy Entry") 1 CONTRACT NEXT BAR VarSelect_B + 0.5 LIMIT ;

 


To add comments, please log in or register