High volatility time pending order trail algorithm
$50-2500 USD
En cours
Publié il y a plus de 8 ans
$50-2500 USD
Payé lors de la livraison
Hi,
For reverse trading scalper.
Do you have a good idea of the high volatility time pending order "trail" algorithm?
I want to buy high volatility time pending order "trail" algorithm.
///Example 10SecATR pending order trail algorithm
//g_PenLevel=0.00018, Multiplier=3, ModifyStartPip=0.0001
case OP_BUYSTOP:
OrderOpenPenPrice = NormalizeDouble(OrderOpenPrice(), g_dig);
if (10SecATR * Multiplier >= g_PenLevel) NewLevel = 10SecATR * Multiplier;
NewPrice = NormalizeDouble(Ask + NewLevel, g_dig);
if (!((NewPrice <= OrderOpenPenPrice-ModifyStartPip))) break;
_BoolMod = OrderModify(OrderTicket(), NewPrice, 0, 0, 0, Lime);
Hello. I see you've created a new project but I have to tell you that there are not so many ways in MQL to modify the order. The modification speed depends on MT4 - server connection and server execution. But in MT4 we can simply process each tick and try to modify the order before market is changed. Thanks, Alex.