|
Coding for Martinggle with hedging closed
Hi Team,
i would like to seek a code that can provide me to the solution of my stategies below;
examples;
martingle concept-
TP = 23 pips
Pip gaps = 20
OP buy EU 0.1,0.2,0.4,0.8,1.6 lot
1. if layer on lot 1,6 floating more than -20pips then OP Sell EU with 12.8lot (tp 23).
2. if layer 12.8 lot hit TP close all EU position.
3. if 12.8 lot pip=0 then close position on Sell EU only.
4. repeat situation 1 until 3 again if the condition apply.
Need your favour to advise me on the function and codes.
|