Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
14712
Rating:
(13)
Published:
2008.09.09 09:10
Updated:
2014.04.21 14:53
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance


Depending on the value of UpDoun =true or =false, the script either drags the TakeProfit closer to the market or pushes it away from the market holding the same Distance in points.

If a DC limits placing Stops and Limits "for the market" (usually it's 10 points) you should


//+------------------------------- FIND OUT ABOUT THE LIMITS OF YOUR DC -----+
// if(Distance<10) Dist=10;
// else 
Dist=Distance;
//+--------------------------------------------------------------------------+


remove the comment in the block and set the Dist value.


//+------------------------------- FIND OUT ABOUT THE LIMITS OF YOUR DC -----+
if(Distance<10) Dist=10;
else 
Dist=Distance;
//+--------------------------------------------------------------------------+


Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/8408

GordagoElder GordagoElder

Indicator GordagoElder.

SteelBlue SteelBlue

Indicator WolfWave. It is written on the basis of the ZigZag.

#MAMA #MAMA

Indicator #MAMA.

Aroon Horn Aroon Horn

Indicator Aroon Horn.