moving average as a support and a resisitance
-
hi , can u guys tell me how to create a bot that sell whenever the price hits the moving average line from under , and buy whenever the price hits it from the above , i don't want the cross , thanks in advance
-
x> from below then placing a sell is the same as candle hitting MA.
-
ya it worked , the problem is that i want it to open the position 2 pips before it totally hits it , can u tell me how please
-
Adjust the MA by + - 2 pips
-
https://fxdreema.com/shared/8LvmLNMmd here is it , can you please tell me where is the problem , i put it on test but it didnt take any trade
-
I would use a condition block, rather than price x>, is likely once per block, try this:

-
thanks man that worked , but it still missing a lot of perfect entries on test , if you can do an example with conditions i would be so grateful . i dont know why it misses entries
-
I can have a look at what you have done, add a shared link and say what's not working.
-
https://fxdreema.com/shared/v20iwAvXd . it works but sometimes even if the conditions are met , it does not take the trade and sometimes it closses befores the sl , i dont know if the problem is from the tester or something else
-
Need the word pips for value to be adjusted by pips, looks ok tell exactly what it's doing if something not working:
#
-
ya i did that but still the same , sometimes it does not respect the conditions i have put i observed that on test , i tested manually taking into considiration the movement of the moving average and with the conditions and i got different result , totally . i dont know exactly where is the problem
-
Try using ID1 on candle and MA
-
tried it but that does not go with what i want to do , guess that there is no solution , tried a lot of things but nothing works perfectly , thanks a lot
-
Whenever I have use this (from a condition block) it works well on candle0
-
i dont know i have used the condition block but didnt work it might be a problem with testing or something , but i have used all the logic possible