HELP ON EMA CROSSING
-
Please i need helP on ema crossing.
Please is it possible to check the distance between the point of EMA crossing (where 10 X> 20) and the candle stick.
I want to know if the gap can be calculated in Pips as i don't want the EA to pick trade if it's more than 10pips in Gap or Distance.
-
What do you exactly mean by 'the point of EMA crossing'? Crossing lines are visual artifacts for us humans to interpret what is happening. You will never get a price level if that is what you are looking for.
-
I mean the Candle appearance from the EMA corssing point. How to control the EA not to pick a trade if the distance is greater than 10pips. Distance between the Candle and the EMA crossing point
-
@l-andorrà I am not sure that's correct, the visual is drawn from the price/time of each object? @GOKACHIT There is a block called check distance, use this to check if the required distance is within range, you may need to save the price of the cross in a variable.
-
@jstap I know, but the exact price level where both lines are visually crossing each other happens between two candles. That means fxDreema cannot find it because it can identify candle values only. Additionally, that depends on the relative slop of both MA. That makes it irrelevant when trying to find that exact point. What the knot can know is if the crossing is confirmed between candle ID X and candle ID Y, but the exact price in between.
-
It will get the exact price of the MA at any time, so when it crosses another MA, save the price into a variable, giving you the exact price of the cross regardless of the candle price/time...
-
@jstap and @l-andorrà Thanks to you both. It is now working perfectly using variable to save price on MA crossing. Thank you so much!!!
Also i want to know if it is possible to have upto 5 Breakevens. Will it work as price goes up on profit, the breakevens keep modifying.
-
Break-even only works once, you would have to use a trail step, or pink blocks to modify the stop when needed.
-
@jstap Please sir help me set the trailing step or modify stops so that as the profit is going up, the stop loss will change to positive or negative. https://fxdreema.com/shared/01Z7CYnrd
-
Trail for each trade will follow the price starting from what start you have. only group of trades will move back. Put your latest project link, with all dots connected so what has been done can be seen
-
-
The blue trailing stop will follow behind the price by 20 pips, pink has no reason to move stops, never used like this, but will likely follow the price as well, (you only need 1 type though).
-
@jstap Thank you so much