飞狐流星花园副图指标
源码
Var1:=88;
Var2:=68;
Var3:=(CLOSE-LLV(LOW, 9))/(HHV(HIGH, 9)-LLV(LOW, 9))*100;
Var4:=SMA(Var3, 3, 1);
Var5:=SMA(Var4, 3, 1);
Var6:=3*Var4-2*Var5;
Var7:=SMA(CLOSE/HHV(HIGH, 120), 3, 1)*100;
Var8:=SMA(CLOSE/HHV(HIGH, 120), 3, 1)*100;
Var9:=Var7>REF(Var7, 20) AND Var7>75 AND FILTER(Var7/REF(LLV(LOW, 20), 10)>1.180, 20);
Var10:=IF(Var7>70 AND Var7<75, 1, 0);
-=目前态势=-:Var7,LINETHICK3,COLORRED;
Var11:=REF(CLOSE, 1);
Var12:=SMA(MAX(CLOSE-Var11, 0), 6, 1)/SMA(ABS(CLOSE-Var11), 6, 1)*100;
调整:=Var7, COLORGREEN;
★.顶 部 星 : IF(Var7>Var1, Var7, Var1), POINTDOT,LINETHICK2,COLORWHITE;
★.底 部 星 : DRAWTEXT(FILTER(调整<52, 10), 调整, '★'), COLORYELLOW;
IF(Var8<68,调整,68), POINTDOT,LINETHICK2,,COLORYELLOW;
{DRAWTEXT(Var9>0 AND Var7<88, 调整, '短期获利风险'), COLORMAGENTA;}
DRAWTEXT(Var7<68 AND BARSLAST(CROSS(Var2, Var7))>2 AND Var5<30 AND CROSS(Var6, Var5), 70, '★大资金介入'), COLORYELLOW;
DRAWTEXT(Var7>88 AND CROSS(84, Var12), 调整, '★有 风险!'),COLORRED;
100,COLOR006600;