How to place Stop/Profit of the pips distance between the crossing of 2 moving averages
-
Hi everyone, I would like your help on the following:
How do I find the number of pips that the market price is up to the crossing of 2 moving averages?
I intend to apply this Stop value, and 3x Profit.
Basically I will have to register in a variable that number of pips of distance, how can I do it?
Thank you very much. -
@besttrader formula block with hi-lo, under put a modify variables block and change the price fraction to pips, use this variable as fixed pips for SL and TP as 300% of SL.
-
Thanks for the answer, but I don't understand how to do it, can you specify or give an example with print screens? Thank you very much
-
@besttrader You'll see how to do this in this picture, if you want to use the current price instead of a moving average, replace with market properties. If you want to use the price level of a cross you will need another condition with market properties in a modify variables block to save this price.

-
@jstap thank you very much, i will try
-
@jstap
I did the same as the example, and it creates an infinite loop of operations, open, close...
I need to know how many pips away is the current price from the crossing of two moving averages.
Can you help? With new screen prints? Thank you very much -
@besttrader Follow this link you'll see how to do it, as for an infinite loop it is probably how I had it set using price fraction, instead of converting into pips, let me know if this sorts all.