how to code Buy/Sell Limit/Stop order with close high low candle ea strategy
Please edit your (original) post and use the CODE button (Alt-S)! (For large amounts of code, attach it.)
General rules and best pratices of the Forum. - General - MQL5 programming forum (2019)
Messages Editor
Hi All Senior , I am very new into Mql4 code . Would like to seek for advise about coding , Appreciate anyone can advise and teach ...... Thank you and sorry if the code is messy
i wanted create an EA that following
entry : Buy Stop order at last 3 candle high above 300 point ( include wick)
entry : Sell Stop order at last 3 candle low below 300 point ( include wick )
once entry one buy/sell opposite pending cancel
if buy > sell limit order will place following last 2 candle lowest 300 point ( include wick )
if sell > buy limit order will place following last 2 candle highest 300 point ( include wick )
sell/buy limit order will reset and move follow new 2 candle highest/lowest, once candle touch limit order opposite active order will close
my example: