@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
Posts made by TalalKhan
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@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? -
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Is this the right way?

-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Than how can i reset the previous condition which i used in 282 283?
I thought that if i want to reset previous condition when indicator is at 0, this is the way to do it, Can you tell me what's the way to reset? -
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap
282 & 283 will stop tree 1 if indicator is crossing below 200 from above 200 if i am not wrong,
284 & 285 will reset this above condition when indicator is at 0
I think you are talking about block no 284 i used a value in this, can you tell me what i d with this block if you are talking about that block -
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Sir check my project and tell me, I did it right or not?
Check blocks (282, 283, 284, 285) & check connection of block 286 in buy tree 1
https://fxdreema.com/shared/lVosHWI4c -
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Sorry for late, we Pakistanis were busy in Pakistan vs India cricket match clash, hehe
Comes to the point, sir how can i set this to true false both,
Can you please give me live example through screenshot or sharing link.
Here is project check block (282, 283, 284)
https://fxdreema.com/shared/SiV2eKRTc -
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap When condition is met or not,
Means i didn't do it on a right way? Is something wrong please explain -
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Please check this, i did it right or not?

-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Can you please give me a live example on my project,
If blue line crosses below 200 buy tree 1 stop trading and sell tree 2 start trading.
Sell tree 2 is doing his work but main problem is buy tree 1 is continue to trade. How to stop that.
Please give me live example, if you can't understand tell me i will further explain in a better way. -
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Here is the shared link
https://fxdreema.com/shared/pK9X8JvYc
See screenshot indicator is crossing below 200, EA starts to finds short setups but also long setups because long setups condition also matched.
Before crossing below 200 buy tree 1 was working, after crossing below 200 sell tree 2 activated, but buy tree 1 also working, how can i stop buy 1 when sell 2 activated.
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap one more problem in EA
EA changes his direction while crossing below 200 (buy to short), EA find short setups but EA also picking long trades because buying condition also matching for trade.
How can i stop long conditions when ea is crossing below 200? -
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Leave this, don't know why - value is not working fine

Comes to another point last but not the least
If indicator is crossing below 200 EA changed his direction buy to short (already added)
and if indicator is rising again from above any value of in b/w 100/200 to 200+ zone EA changed his direction short to buy again.
How can i do this?

-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap No dear it's not an issue, i tried already with below, How can below work if we want to reset condition if indicator is rising from -200 to -25. It's clearly seeing that above -25 should work, but it's not working don't know why.
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap exactly i am also thinking the same, but when i am using negative value EA is not working fine, indicator have both side value + and -
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap its working fine i will test on live account then ask you about trade true false if needed, I want to ask something when indicator is below -200 means oversold zone i set the condition for buy, condition is working fine but i want this condition to reset when indicator value is above -5,
This is not working with minus 5 but working with 0, how can i set - value ?

-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Like this?
I tried, This is not working. I am doing it wrong

-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap where is reset variable option?
-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Sir please check looks like it's working, I will test it again, but one problem is i want to reset this condition to normal again when blue oscillator line touches 0. How can I ?
Project: https://fxdreema.com/shared/FolecOH7b

-
RE: I Want To Create A EA With Custom Indicatorposted in Questions & Answers
@jstap Bro i want to add this conditions in my EA
- Custom oscillator value is above 0 to Max value EA find buying setups (Which already added in my EA)
- EA changed direction buy to sell if oscillator value is crossing down from 200 (Check rectangle area in below picture)
Note: If value is above 200 EA direction is long when crossing down from 200 EA changed direction.
(Vice Versa For Sell Side)
