以下是同花顺小牛战胜主力副图源码

RSV:= (C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
 FASTK:=SMA(RSV,3,1);
 Y1A:=((SMA(FASTK,3,1))/2+40)*1.1;
线上牛:SMA(Y1A,3,1),colorwhite;
 RSV1:= (HHV(H,9)-C)/(HHV(H,9)-LLV(L,9))*100;
 Y2A:=(SMA(RSV1,3,1)/2)*1.1;
线下熊:SMA(Y2A,3,1),colorgreen;
 LC := REF(C,1);
 RSI2:=SMA(MAX(C-LC,0),6,1)/SMA(ABS(C-LC),6,1)*100;
 RSI3:=IF(RSI2>50,RSI2*1.05,RSI2);
 RSV3:=(C-LLV(L,54))/(HHV(H,54)-LLV(L,54))*100;
 RSI4:=IF(RSI3>100,100,RSI3);
 RRR:= EMA(SLOPE(RSI4,3),20);
滑头:RSI4, colorred,LINETHICK2;
 DRAWTEXT(CROSS(线下熊,滑头),线下熊,’始’);
DRAWTEXT(CROSS(滑头,线下熊),滑头,’终’);

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。