Hi Kerty9,
Question 1: What do your GOLD lines indicate in your THV Dashboard?
Question 2: I have a few questions as I too am trying to call your signal_THV_Color Indicator.
"TrixColor" is returning the number 0 or 3 and is not returning anything else even when the color changes. Is there something I need to do different?
EDIT: Now it is returning -1 no matter if it is green or red...
Question 3: Have I coded "TF" correctly? It threw an error when I just used TF. saying it was not defined.
Thanks for your assistance.
James
Question 1: What do your GOLD lines indicate in your THV Dashboard?
Question 2: I have a few questions as I too am trying to call your signal_THV_Color Indicator.
"TrixColor" is returning the number 0 or 3 and is not returning anything else even when the color changes. Is there something I need to do different?
EDIT: Now it is returning -1 no matter if it is green or red...
Question 3: Have I coded "TF" correctly? It threw an error when I just used TF. saying it was not defined.
Thanks for your assistance.
James
Inserted Code
//---- Start Main Loop int i; int counted_bars=IndicatorCounted(); //---- check for possible errors if(counted_bars<0) return(-1); //---- last counted bar will be recounted if(counted_bars>0) counted_bars--; int limit=Bars-counted_bars-1; //---- main loop for(i=0; i<limit; i++){ double TrixColor = iCustom(NULL, 0, "signal_THV_Color", "TF", 2, i);}
DislikedAttached indicator calls V6 trix to signal a color change of fast trix just call this indicator with icustom call
iCustom(NULL, 0, signal_THV_Color, TF, 2, 0). where TF is chart timeframe. If the value returned is -1, than fast trix color has changed to red during current candle. If +1, than it has turned green during current candle. If -2, than it turned red during previous candle. if +2 than it turned green during previous candle. Hope it helpsIgnored