could not find the right buffer on my custom indicator
-
dear fx dreema.
i try to find the right output buffer to make open opisiton either buy or sell
custom indicator : heikenAshiTradeZone
blue - buy
red - sell
grey - no tradecandle id : 1
but still cann't find the right one. it keep open double position buy and sell
please help if you could show mehttp://image.prntscr.com/image/ea34aa0fb4b143ca93ae5159ce74b856.png
here is the trial
https://fxdreema.com/shared/dFA1XHh7d -
Well, I don't have that particular indicator in my /Indicators. But you can always check each buffer with "Trace". If something doesn't look as expected, try with to set Candle ID to 1 (some indicators don't draw anything for the current candle)
-
__Well, I don't have that particular indicator in my /Indicators. But you can always check each buffer with "Trace". If something doesn't look as expected, try with to set Candle ID to 1 (some indicators don't draw anything for the current candle)[/quote:11qsg6pz]
here is the indicator
......
HeikenAshiZoneTrade.mq4 -
Buffer 0 appears to be the Close price of the blue candles and Close price of the red candles. Otherwise its value is 0
... and so on...Get some Trace block, play with it in Visual mode and you will eventually understand what each buffer means. Then how to use them... I don't exactly know. Even the built-in Heiken Ashi is kinda weird. I used to detect red/white candle by comparing the values from 2 of the buffers.