Ahh never mind
I also found one looking exactly identical
Ahh never mind
Also don't forget Nwesterhuijs and Kvak they both got the ball rolling.moey_dw wrote: Tue Dec 06, 2022 10:55 pm Man lovely work Mrtoolz & Jacks....... good channel indicator & it is working superb thx guys!!!
Thank you for your valuable advice Mrtools...mrtools wrote: Tue Dec 06, 2022 7:32 pm HIGH and LOW Optimized Trend Tracker HOTT LOTT
The HOTT LOTT is based off Anıl Özekşi's OTT - Optimized Trend Tracker.
This particular version has two lines of Optimized Trend Tracker which uses the HIGHEST price values (HOTT) and LOWEST price values (LOTT). The difference with this version is that the OTT uses a CLOSE price.
Guys I don't think this part is right for the upper channel
and this for the lower channelCode: Select all
if (MaType==ma_vidya) valH[i] = iVidya(MathMax(iHigh(NULL,0,iHighest(NULL,0,(int)PriceH,HLPeriod,i)),iHigh(NULL,0,iHighest(NULL,0,(int)PriceL,HLPeriod,i))),MaLength,VidyaSmoothPeriod,i,0); else valH[i] = iCustomMa(MaType,MathMax(iHigh(NULL,0,iHighest(NULL,0,(int)PriceH,HLPeriod,i)),iHigh(NULL,0,iHighest(NULL,0,(int)PriceL,HLPeriod,i))),MaLength,i,Bars,0);
Code: Select all
if (MaType==ma_vidya) valL[i] = iVidya(MathMin(iLow(NULL,0,iLowest(NULL,0,(int)PriceH,HLPeriod,i)),iLow(NULL,0,iLowest(NULL,0,(int)PriceL,HLPeriod,i))),MaLength,VidyaSmoothPeriod,i,1); else valL[i] = iCustomMa(MaType,MathMin(iLow(NULL,0,iLowest(NULL,0,(int)PriceH,HLPeriod,i)),iLow(NULL,0,iLowest(NULL,0,(int)PriceL,HLPeriod,i))),MaLength,i,Bars,1);
I did something like this
unless I am missing something please let me now, anyway, did a version too.Code: Select all
double hi = high[ArrayMinimum(high,HLPeriod,i)]; double lo = low[ArrayMinimum( low,HLPeriod,i)]; wrk[r].valH = iCustomMa(MaType,hi,MaLength,i,rates_total,0); wrk[r].valL = iCustomMa(MaType,lo,MaLength,i,rates_total,1);
This is the linear regression candles; think I need more information on the UT Bot.chickensword wrote: Wed Dec 07, 2022 8:26 am Was too good to be true sadface
Ut bot/ Linear regression candle
Only looks profitable
Thank you!, I found them almost like heikin smoothedmrtools wrote: Wed Dec 07, 2022 2:24 pm This is the linear regression candles; think I need more information on the UT Bot.
Thank you MrTools and Kvak for picking up on this. I had indeed corrected already some errors since then but was still aiming to debug more before posting an update.mrtools wrote: Tue Dec 06, 2022 7:32 pm HIGH and LOW Optimized Trend Tracker HOTT LOTT
The HOTT LOTT is based off Anıl Özekşi's OTT - Optimized Trend Tracker.
This particular version has two lines of Optimized Trend Tracker which uses the HIGHEST price values (HOTT) and LOWEST price values (LOTT). The difference with this version is that the OTT uses a CLOSE price.
Guys I don't think this part is right for the upper channel
and this for the lower channelCode: Select all
if (MaType==ma_vidya) valH[i] = iVidya(MathMax(iHigh(NULL,0,iHighest(NULL,0,(int)PriceH,HLPeriod,i)),iHigh(NULL,0,iHighest(NULL,0,(int)PriceL,HLPeriod,i))),MaLength,VidyaSmoothPeriod,i,0); else valH[i] = iCustomMa(MaType,MathMax(iHigh(NULL,0,iHighest(NULL,0,(int)PriceH,HLPeriod,i)),iHigh(NULL,0,iHighest(NULL,0,(int)PriceL,HLPeriod,i))),MaLength,i,Bars,0);
Code: Select all
if (MaType==ma_vidya) valL[i] = iVidya(MathMin(iLow(NULL,0,iLowest(NULL,0,(int)PriceH,HLPeriod,i)),iLow(NULL,0,iLowest(NULL,0,(int)PriceL,HLPeriod,i))),MaLength,VidyaSmoothPeriod,i,1); else valL[i] = iCustomMa(MaType,MathMin(iLow(NULL,0,iLowest(NULL,0,(int)PriceH,HLPeriod,i)),iLow(NULL,0,iLowest(NULL,0,(int)PriceL,HLPeriod,i))),MaLength,i,Bars,1);
I did something like this
unless I am missing something please let me now, anyway, did a version too.Code: Select all
double hi = high[ArrayMinimum(high,HLPeriod,i)]; double lo = low[ArrayMinimum( low,HLPeriod,i)]; wrk[r].valH = iCustomMa(MaType,hi,MaLength,i,rates_total,0); wrk[r].valL = iCustomMa(MaType,lo,MaLength,i,rates_total,1);
Code: Select all
double hi = high[ArrayMinimum(high,HLPeriod,i)];
double lo = low[ArrayMinimum( low,HLPeriod,i)];
wrk[r].valH = iCustomMa(MaType,hi,MaLength,i,rates_total,0);
wrk[r].valL = iCustomMa(MaType,lo,MaLength,i,rates_total,1);
Code: Select all
double hi = high[ArrayMaximum(high,HLPeriod,i)];
double lo = low[ArrayMinimum( low,HLPeriod,i)];
wrk[r].valH = iCustomMa(MaType,hi,MaLength,i,rates_total,0);
wrk[r].valL = iCustomMa(MaType,lo,MaLength,i,rates_total,1);