It's easy ...
Just add or substract more pips to/from the variable that calculated those levels.
You may be need to add an external variable like,
input int ExtraPips = 100;
Don't forget to multiply EtraPips*Point in your calculations ...
There is a script for this in the code base section. It is in a collection of a lot of scripts that can be used.
Thank you for your answers.
Osama: it is difficult to know in advance how many extra pips add or substract because there is no precise rule, it changes all the time.
Michael: I don't find this script in the code base section, could you post the url of the page if you find it?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I would like to place a sell stop as on picture below:
I have this loop below to find last up and last down ZigZag indicator but I don't want to place a pending order on the first up or down ZigZag, what is wrong into my loop?