program my indicator
-

sorry i'm new in coding
i want to know what is wrong!!!
could you please help me
i want my indicator "weiswave" every time check the volume color if it is red do sell and if it is yellow do buy
how can i do that
Thanks -
What does 'every time' mean? Every tick or every bar?
-
@isp00rt every bar
-
-
Just another question. Does it repaint the active bar? And the previous bars?
-
Maybe try "indicator appear" block and set the output to the color change? I just recently used this on one where it draws arrows might give it a try...
-
@isp00rt yes the current bar depend on the previous bar the new bar start from end of previous bar
-
@alexanderjohnson21 is right. You should use the block 'Indicator appears'.
-
@isp00rt could you plz send me a sample diagram for that to under stand it or in witch part i put this block
-
Rereading your first message I guess the best option for your EA is the 'Indicator is visible' block. Just like this:

I used my own custom indicator, so you must use yours here. It very important to check the candle ID. As you want to open a trade every candle you must specify Candle ID 0. But be aware that it will not work properly if this indcator repaints bars. If it does results will be wrong. Hope it helps.
-
here you go found your indicator lol let us know how it works!
-
@alexanderjohnson21

i make some change in buy and sell -

-

