Enter when price crosses above/below moving average by "X" pips
-
I need help with an entry point when price crosses above/below a moving average by "x" pips. Let's say I want to enter a sell when price crosses 6 pips below a moving average. I can get an entry if price crosses that far on one candle, but if the first candle to cross below only moves 2 pips below and then the second candle continues to move down I can't get an entry because that second candle didn't technically cross below the ma since already opened below. Thanks for the help
-
Not 100% sure what you want, but if you adjust the MA by + or - "x" pips you effectively move the price of the MA
-
yes, i've been doing that. It works great if price moves down all in one candle. But if price barely crosses below the MA and then moves further down over a few more candles, I don't get an entry. I need the ea to enter after price moves below the ma regardless of how many candles it takes
-
shared/gxqvmN3Nd- heres a link to see what i have so far

-
Candle 0 close is the current price, so regardless of candle price is where price is.
-
I can now get correct entries if current candle opens above indicator and crosses below by "x" pips. but if a previous candle opens above and then price doesn't cross back below by x pips until a future candle nothing works. Can someone please help with this
-
Add a shared link of candle 0 doing the cross, generally get 1 condition working before moving on to the next.
-
My issue is that I want a candle to cross above a custom indicator and then enter a sell when crossing back below that indicator by 4 pips. I can do it if candle 1 crosses above and candle 0 crosses back below. But I can't figure out how to do it if it's an older candle that crosses above and then a candle only moves back down by 3 pips, and then its the next candle that finally crosses back below by 4 pips. I tried to set a flag to true for when a candle crosses above the indicator and then check that flag to allow for candle 0 to enter a sell when the cross finally happens. Heres a link. https://fxdreema.com/shared/XjXbXRPXc
-
You can adjust in a modify block, no need for a formula:

You can also add all this into a condition block.
-
could you show an example please
-

-
thank you so much for your help. For some reason when I test it I'm still not getting any entries. I was getting entries earlier(just not in the correct place) so i know I have everything in the correct folders. https://fxdreema.com/shared/hl7yXNq3d
-
PIPS_TO_CROSS needs to be written, because right click selected, prevents adding + or - and pips

-
This seems like it should be so easy yet there is always something. Now it takes trades but missed 7 out of 9 possible trades. The other 2 entered correctly. Any ideas. https://fxdreema.com/shared/YXckbCMzb
-
I took a course to learn the basics of fxdreema and now i'm seeing that it can be very complicated. do you have any suggestions on where to go to learn the more advanced concepts. Basically what i need to learn is how to get trades to enter and exit after crossing above or below indicators by a certain amount. I also need to learn how to check if things happened "N" candles in the past.