I Want To Create A EA With Custom Indicator
-
@jstap Is this the right way?

-
@talalkhan To reset a condition if it is a bool condition reset to the opposite using bool true/false, and using a condition that doesn't conflict with the other condition.
-
@talalkhan Both conditions are doing the same thing but trying to cause a different result, put in a comment so you can check.
-
@jstap I understand with true false but how both conditions are conflicting?
crossing below 200 bool true
Below 0 (It means value enter in -) bool false
Conditions are not conflicting i think. What you say? -
@talalkhan again I will say use a different condition and place in a comment block so you can check.
-
@talalkhan Because 1 is bool and the other is numeric.
-
@jstap Which condition i used what your mind is saying where i can reset this variable?
Because my mind is saying 0 is the level where variable should reset -
@jstap Check my screenshot above, Still any problem, i removed numeric with bool false
-
@talalkhan Ever picture I have put and you have put shows this, bool = true/false, double = numeric, these should be used as they are, put all in a comment, test, change, test, until you get what you need.
-
@talalkhan But it is a bool variable!
-
@jstap If i want to reset this variable at 0, where i put this 0 ? in conditions or in modify variable block? i think at conditions block like this

-
@jstap Please check the connection of block 284 & 285, is it right or should i use yellow line
https://fxdreema.com/shared/LfpTuOB1d -
@talalkhan The modify variables are now correct, if <0 is what you want to set variable to false then all is logicily correct.
-
@jstap and connection is also correct with orange line?
-
@talalkhan Yes yellow is just for if not condition.
-
@jstap EA is still not working fine

https://fxdreema.com/shared/pZ0Mx26Gc
Can you please check these variable?

-
-
@jstap Listen sir,
I want this settings in my EA (Vice Versa If Indicator is At -200)

-
@jstap If i used > instead of crosses above i think it means if indicator is above -200 to 0 range EA finds long setups because indicator is at above -200, That's why i used the word crosses
-
@talalkhan A cross happens on a candle, > happens after a cross and stays like it until the opposite cross occurs.
