opening a trade problem
-
-
Somebody knows??
-
In here you will see how I use HA, https://fxdreema.com/shared/1UDRbblwe, standard doesn't always work. Use and test with this, you can then adjust to do all you want.
-
I dont know is it will work well to resolve my problem @jstap
-
It will but, you need to test 1 step at a time until you find what works.
-
What do you mean "1 step at a time"? Sorry, i prefer to ask
-
I mean get one bit doing what you want in back test, then change again, keep doing this, until all is working.
-
I will be testing, if i had a problem. I ill ask you
-
"BuffersA" applies to candles with id 1 and "BuffersB" applies to candles with id 2? I need buffor0 and buffor 3 to identify the opening and closing of the candle. How can I create these variables myself?
-
Yes that is what A&B means, change the code, or add buffers, you can use any candle ID you want.
-
Ok, but when i want to add variables, how to fill "type" field? string, numeric?
-
The same as what's there, for this it's double, name them whatever you want, but individual.
-
in "value" field 0?
-
All you need is in there,

-
@jstap said in opening a trade problem:
standard doesn't always work. Use and test with this,
-
I create this setup of blocks for sell trade, but I think it might be a problem to put it all together to make it work. I mean blocks "indicator is visible" and "condition"
Link: https://fxdreema.com/shared/lx7RpOn3e -
Am a little lost with what you are doing with indicator is visible? The standard block conditions don't work correctly.
-
this two block "indicator is visible" work very well, trade is open when after 3 bull heiken ashi candles, will be created bear heiken ashi candle. The problem is to check, for example in this case, whether this bear candle closes outside the body of this bull previous candle or not
-
You need to work out what value is telling you, what is O-H-L-C OF DIFFRANT CANDLE ID's from there you will know what values to use.
-
Ok i will try, but dont know if i can to combaine "indicator is visible" blocks with "condition" block bocouse it diidnt work when i tested in mt4
