I need a Buy-Order Script and a Sell Order Script to MT4.
If the Buy-Order Script is dragged to the chart it aks:
If confirmed, a Buystop Order is placed 1 Pip + Spread above the last closed candle
with a Stop one Pip below this candle, Lot Size: X% of Account Equity.
If not confirmed, a Buy Limit Order is placed in the middle of the range of the last closed candle ( (Hight + Low )/ 2 ), with a Stop Loss 1 Pip below this candle, Lost SIze: X% of equity.
If the Sell-Order Script is dragged to the chart it asks:
If confirmed, a sellstop order i splaced on pip below the last closed candle,
stoploss 1 pip + spread above this candle, lotsize X% of equity.
If not confirmed a sell limit order is placed in the middle of the range of the last closed candle ( (high + low ) /2 ), stop loss 1 pip + spread above the high of the last closed candle, lot size X% of equity.
Keep in mind that the pip value of different pairs is different; adjust lot size to this.
Print take profit levels ( horizontal line ) at 2R, 3R, 4R profit ( different color for limit orders and stop orders )