底涨顶跌 龙十万改版,带未来函数-云指标公式网
本指标是龙十万的改版
VAR1:=IF(YEAR>=2038 AND MONTH>=1,0,1);
VAR2:=REF(LOW,1)*VAR1;
VAR3:=SMA(ABS(LOW-VAR2),3,1)/SMA(MAX(LOW-VAR2,0),3,1)*100*VAR1;
VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3)*VAR1;
VAR5:=LLV(LOW,30)*VAR1;
VAR6:=HHV(VAR4,30)*VAR1;
VAR7:=IF(MA(CLOSE,58),1,0)*VAR1;
VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*VAR1;
主力吸筹:=IF(VAR8>100,100,VAR8)*VAR1,colorred;
STICKLINE(主力吸筹>REF(主力吸筹,1),0,主力吸筹,4,0),,COLORFF00FF;
STICKLINE(主力吸筹<ref(主力吸筹,1),0,主力吸筹,4,0),colorgreen;< div="">
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
长趋势:=3*Q3-2*Q4,coloryellow,LINETHICK2;
PARTLINE(长趋势,长趋势>REF(长趋势,1) AND 长趋势>20,colorred,长趋势<ref(长趋势,1),coloryellow),linethick2;< div="">
趋势线:=EMA(Q3, 3),coloryellow,LINETHICK2;
DRAWTEXT(CROSS(趋势线, 长趋势) AND REF(长趋势,1)>80, REF(长趋势,3), '顶'),colorred,LINETHICK5;
DRAWTEXT(REF(CROSS(趋势线,长趋势),82) AND 趋势线>1.3*长趋势,长趋势,'▲'),colorred;
DRAWTEXT(REF(CROSS(长趋势,趋势线),1) AND 长趋势>1.3*趋势线,趋势线,'▲'),colorred;
VAR3:=PEAKBARS(3,15,1)<10;{www.88gs.com}
VAR5:=IF(VAR3=1,2,0);
顶:= IF(VAR5=2,2,0);
顶A:IF(顶>REF(顶,1),50,0),colorgreen;
DRAWTEXT(顶A=50,45,'逃'),COLOR00FF00;
金叉:CROSS(长趋势,趋势线);
DRAWTEXT(金叉,趋势线,'▲'),colorred;
S1:=SMA((CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100,5,1);
趋势线:=SMA(EMA(((C+L)/2-LLV(L,21))/(HHV((H+C)/2,21)-LLV(L,21))*100,3),7,1),colorgreen,LINETHICK2;
PARTLINE(趋势线,趋势线-REF(趋势线,1)>0,colorred,趋势线-REF(趋势线,1)<=0,colorgreen);