open and close order:
-
Re: Indicators on multiple time framesI'm going to use an EA that uses specific order to open and close by checking out different time frames and then entering in that position but unfortunately it doesnt work for me and doesnt even execute any trade what should I do?I use ( area 1: no trade>condition> condition>condition>BUY
and area 2:if trade>conditon>close trade) what do u guys think is wrong with my instruction? -
@mohammad1373 Can you please share your project? That will be easier to fix the problem.
-
https://fxdreema.com/shared/rYa6dDkG
I used to create this strategy by using an SMA and alligator but it doesnt execute any trade where did I done wrong by building instruction? -
@mohammad1373 Here you have my suggestions:
- Remove all 'AND' blocks. They are simply unnecessary.
- You need to specify buy obly or sells only on each block tree. Now all blocks in all trees can open and close buys and sells at the same time. That is wrong.
- You need to specify candle ID 1 on all operands of al conditions blocks in Areas 1 and 3.
Try that and let me know.
-
https://fxdreema.com/shared/zvYpzTT3
So this is what I did on my last try.
-
Is everything clear due on what you mentioned me Mr.l'andorra?
-
if I want to use these conditions to operate one by one like if() structure how should I manage to do that?
-
for example I want EA looks after my first condition and if it goes right gets to second condition and else it doesn't do anything.
-
-
@mohammad1373 Not exactly. You need to do what I recommended in point 2 of my previous post. Additionally you should separate blocks 7 and 15 on the left and 14 and 18 on the right. Those blocks need to be independent from the main tree. Finally, I do not recommend to use the == sign on blocks 16 and 19. It is a very restrictive contition. I would use <= for buys and >= for sells.
-
https://fxdreema.com/shared/M4XKhidWb
I did it all to here I done what u proposed me but still there's a problem the EA execute frequently buy or sell however I defined the enter and exit position for it
- one last question : I want to build an EA which has step by step conditions how can I build it by condition's priority?
-
@mohammad1373 Please modify blocks 15 and 18 as I recommended in my previous post. If you don't want to do it, I cannopt help you.
-
tnx I modified and it work properly tank you for your help Mr.l'andorra