Trabalho concluído
Termos de Referência
Closed Expert Advisor Development Order
Market Order, Limit Order Order Start Run
Closed Expert Advisor Start Run!
// + ----------------------------------------------- ------------------- +
// | EA_TrailingStop.mq4 |
// | Copyright 2015 MetaQuotes Software Inc. |
// | Https://www.mql5.com |
// + ----------------------------------------------- ------------------- +
extern double TakeProfit = 500; //Pip Unit
extern double StopLoss = 100; // Pip Unit
extern double profit = 10 // achieve profits $10 Start profit percentage % TrailingStop
extern double profit percentage % TrailingStop = 50 %; // the highest price percentage Close (profit 100 * 50/100 = profit 50)
= 70 %; // the highest price percentage Close (profit 100 * 70/100 = profit 70)