Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 15311
- Rating:
- 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

Indicator GordagoElder.

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