通达信㊣利多㊣抛吸副图源码公式:
AAA:=100-100*(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,8)-LLV(LOW,8));
BBB:=100-100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
DDD:=100-100*(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89));
短:EMA(AAA,4),COLOR66DDDD;
中:EMA(BBB,4),COLOR00FF00;
长:EMA(DDD,4),COLOR6600FF;
短抛:IF(短>88,55,0),COLORWHITE,LINETHICK0;
中抛:IF(中>94,55,0),COLORYELLOW,LINETHICK0;
长抛:IF(长>98,55,0),COLORMAGENTA,LINETHICK0;
STICKLINE(短<4.10 ,25,0,3,0),COLORYELLOW;
STICKLINE(短>88 ,95,100,4,0),COLORWHITE;
STICKLINE(中>94 ,95,100,4,0),COLORYELLOW;
STICKLINE(长>98 ,95,100,4,0),COLORMAGENTA;
STICKLINE(长>=98 AND 中>=93 ,长,50,1,0), COLORYELLOW;
STICKLINE(长>=98 AND 中>=93,60,50,1,0),COLORRED;
STICKLINE(长<=2 AND 中<=2 AND 短<=5 , 长,50,1,0), COLORRED;
STICKLINE(长<=2 AND 中<=2 AND 短<=5 , 35,50,1,0),COLORYELLOW;
股价:=(CLOSE-LLV(LOW,360))/(HHV(HIGH,360)-LLV(LOW,360))*80;
AA:=EMA(股价,3); CC:=REF(EMA(股价,10),1);
STICKLINE(AA>=CC ,0,4,2,0),COLORYELLOW;
STICKLINE(AA<=CC ,0,4,2,0),COLORGRAY; |