飞狐洞房花烛夜副图指标
源码
Var1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;
Var2:=EMA(Var1,9);
Var3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
Var4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
Var5:=SMA(Var4,13,8);
光阴:CEILING(SMA(Var5,13,8));
Var6:=SMA(Var3,21,8);
搂搂抱抱(横): STICKLINE(光阴-Var6<-65,0,5,15,1);
开始打炮(竖): STICKLINE(LONGCROSS(Var1,Var2*1.05,15) AND Var1<40,20,-20,8,0),colorred;
高潮迭起(横): STICKLINE(光阴-Var6>85,95,90,15,1);
各自睡觉(竖): STICKLINE(LONGCROSS(Var2,Var1*0.95,7) AND Var1>60,100,60,8,0),colorgreen;
90, POINTDOT;
0, POINTDOT;
中分线: 45, POINTDOT;