VAR1:=EMA(SMA(((CLOSE - LLV(LOW,19))/(HHV(HIGH,19) - LLV(LOW,19)))*(100),8,1),3);
STICKLINE((VAR1 > 20) AND (VAR1 < 80),VAR1,VAR1,10,1),COLORRED;
STICKLINE((VAR1 < REF(VAR1,1)),VAR1,VAR1,10,1),COLORFFCC66;
STICKLINE((VAR1 > 80),VAR1,VAR1,8,1),COLOR00FF00;
STICKLINE((VAR1 < 20),VAR1,VAR1,8,1),COLORYELLOW;
EMA13:=MA(CLOSE,13);
EMA30:=EMA(CLOSE,30);
EMA60:=EMA(CLOSE,60);
EMA90:=EMA(CLOSE,90);
EMA120:=EMA(CLOSE,120);
EMA250:=EMA(CLOSE,250);
AA:=(EMA30 + EMA60 + EMA90 + EMA120)/(4);
SX:=(AA)*((1)/(100)) + AA;
XX:=AA - (AA)*((1)/(100));
中粘一:=COUNT(BETWEEN(EMA30,SX,XX) AND BETWEEN(EMA60,SX,XX) AND BETWEEN(EMA90,SX,XX) AND BETWEEN(EMA120,SX,XX),5);
UA:=中粘一 AND CROSS(CLOSE,XX) AND CROSS(CLOSE,SX);
UAA:=UA AND FILTER(UA,10);
中粘二:=COUNT(BETWEEN(EMA30,SX,XX) AND BETWEEN(EMA60,SX,XX) AND BETWEEN(EMA90,SX,XX) AND BETWEEN(EMA120,SX,XX),5);
UB:=中粘二 AND (EMA120 >= REF(EMA120,1)) AND CROSS(CLOSE,EMA120) AND CROSS(CLOSE,SX);
UBB:=UB AND FILTER(UB,10);
中粘三:=COUNT(BETWEEN(EMA60,XX,SX) AND BETWEEN(EMA90,XX,SX) AND BETWEEN(EMA120,XX,SX),5);
UC:=中粘三 AND CROSS(CLOSE,XX) AND CROSS(CLOSE,EMA120);
UCC:=UC AND FILTER(UC,10);
中粘四:=COUNT(BETWEEN(EMA30,XX,SX) AND BETWEEN(EMA60,XX,SX) AND BETWEEN(EMA90,XX,SX) AND BETWEEN(EMA120,XX,SX),5);
UD:=中粘四 AND CROSS(EMA30,EMA120);
UDD:=UD AND FILTER(UD,10);
中粘:IF(UAA OR UBB OR UCC,65,0),POINTDOT,COLORYELLOW;
STICKLINE(中粘,65,0,4,0),COLORYELLOW;
中金叉:IF(UDD,60,0),POINTDOT,COLOR6ACCC8;
STICKLINE(中金叉,60,0,4,0),COLOR6ACCC8;
AAL:=(EMA60 + EMA90 + EMA120 + EMA250)/(4);
SXL:=(AAL)*((2)/(100)) + AAL;
XXL:=AAL - (AAL)*((2)/(100));
长粘一:=COUNT(BETWEEN(EMA60,XXL,SXL) AND BETWEEN(EMA90,XXL,SXL) AND BETWEEN(EMA120,XXL,SXL) AND BETWEEN(EMA250,XXL,SXL),5);
WA:=长粘一 AND CROSS(CLOSE,XXL) AND CROSS(CLOSE,SXL);
WAA:=WA AND FILTER(WA,10);
长粘二:=COUNT(BETWEEN(EMA60,XXL,SXL) AND BETWEEN(EMA90,XXL,SXL) AND BETWEEN(EMA120,XXL,SXL),5);
WB:=长粘二 AND CROSS(EMA30,EMA250);
WBB:=WB AND FILTER(WB,10);
长粘三:=COUNT(BETWEEN(EMA60,XXL,SXL) AND BETWEEN(EMA90,XXL,SXL) AND BETWEEN(EMA120,XXL,SXL),5);
WC:=长粘三 AND CROSS(CLOSE,SXL) AND CROSS(CLOSE,EMA250);
WCC:=WC AND FILTER(WC,10);
长粘四:=COUNT(BETWEEN(EMA60,XXL,SXL) AND BETWEEN(EMA90,XXL,SXL) AND BETWEEN(EMA120,XXL,SXL),5);
WD:=长粘四 AND CROSS(CLOSE,EMA60) AND CROSS(CLOSE,EMA90) AND CROSS(CLOSE,EMA120) AND CROSS(CLOSE,EMA30) AND CROSS(CLOSE,SXL);
WDD:=WD AND FILTER(WD,10);
长粘:IF(WAA OR WCC OR WDD,55,0),POINTDOT,COLORFF00FF;
STICKLINE(长粘,55,0,4,0),COLORFF00FF;
长金叉:IF(WBB,50,0),POINTDOT,COLOREE98DB;
STICKLINE(长金叉,50,0,4,0),COLOREE98DB;
AR1:=(EMA13 < EMA30) AND (EMA13 < EMA60) AND (EMA13 < EMA90);
AR2:=BARSLAST(REF(CROSS(CLOSE,EMA13),1));
AR3:=(EMA13 >= REF(EMA13,1));
AR4:=AR1 AND AR2 AND AR3 AND CROSS(CLOSE,EMA13);
拐点:IF(AR4 AND FILTER(AR4,10),45,0),POINTDOT,COLORFFFFFF;
STICKLINE(拐点,45,0,4,0),COLORFFFFFF;
RR8:=MA(CLOSE,27);
RR9:=((CLOSE - RR8)/(RR8))*(100);
RRA:=MA(RR9,2);
RRB:=BARSLAST((CROSS((-10),RRA) = 1));
RRD:=(RRA < (-10)) AND (RRB > 3);
黄金坑:IF(RRD,10,0),POINTDOT,COLORYELLOW;
STICKLINE(黄金坑,10,0,4,0),COLORYELLOW;
风险线:80,POINTDOT,COLORYELLOW;
牛熊线:50,POINTDOT,COLORFFFFFF;
安全线:20,POINTDOT,COLORFFCCCC;
VVA:=((AMOUNT)/(VOL))/(100);
VVB:=((3)*(HIGH) + LOW + OPEN + (2)*(CLOSE))/(7);
VVC:=((SUM(AMOUNT,7))/(VVA))/(100);
VVD:=DMA(VVB,(VOL)/(VVC));
VVE:=((CLOSE - VVD)/(VVD))*(100);
VVF:=((CLOSE - LLV(LOW,34))/(HHV(HIGH,34) - LLV(LOW,34)))*(100);
VVJ:=MA(VVE,20) + STD(VVE,20);
BIAS18:=((CLOSE - MA(CLOSE,18))/(MA(CLOSE,18)))*(100);
KV:=SMA(VVF,3,1);
STICKLINE((REF(BIAS18,1) >= 5) AND CROSS(VVJ,VVE) AND (KV > 79),风险线,风险线 - 5,4,0),COLOR00FF00;
LLC:=REF(CLOSE,1);
RRSI:=((SMA(MAX(CLOSE - LLC,0),6,1))/(SMA(ABS(CLOSE - LLC),6,1)))*(100);
STICKLINE(CROSS(84,RRSI),风险线,风险线 - 5,4,0),COLOR00FF00;
多方趋势:=(7)*(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(30),4,1)) - (3)*(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(30),4,1),3,1)) - SMA(SMA(SMA(((CLOSE - LLV(LOW,27))/(HHV(HIGH,27) - LLV(LOW,27)))*(30),4,1),3,1),2,1);
天线:=78.89;
STICKLINE(CROSS(天线,多方趋势),风险线,风险线 - 5,4,0),COLOR00FF00; |