Download MetaTrader 5

Is There A Way To Calculate This?

To add comments, please log in or register
Find out how to install MetaTrader on Mac OS
thili55
113
thili55 2014.04.26 18:21 

If the price has moved up 100 pips without retracing at least 20 pips, then open a sell.

If the price has moved down 100 pips without retracing at least 20 pips, then open a buy.

Once a 20 pip retracement has occurred, the count to 100 starts over from there.

Ian Venner
2584
Ian Venner 2014.04.26 19:09  

There is always a way. If you know how to think logically you can figure it out.

Tip: When you are counting as the price is moving up, keep storing the highest so far...

thili55
113
thili55 2014.04.27 03:54  
Whats the best way to store a value of this nature?
SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI 2014.04.27 04:00  
Best way? Not sure but you can use Global Variables.
Alain Verleyen
Moderator
30724
Alain Verleyen 2014.04.27 09:42  
thili55:
Whats the best way to store a value of this nature?
Hi,

If you can't find what you need in the Codebase or the Market, then you can create a request in Jobs Service.

Ian Venner
2584
Ian Venner 2014.04.27 14:35  
thili55:
Whats the best way to store a value of this nature?
a static double so it is persistant memory.
To add comments, please log in or register