以下是通达信顶底区域公式【副、码、图】

通达信顶底区域公式【副、码、图】

RSV1:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;

RSV2:=(CLOSE-LLV(LOW,37))/(HHV(HIGH,37)-LLV(LOW,37))*100;

短线:SMA(SMA(RSV1,3,1),3,1)+3*STD(CLOSE,21),COLORD9D919;

中线:SMA(RSV2,5,1)+2*STD(CLOSE,37),COLORAA00AA;

RSV3:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;

长线:SMA(RSV3,5,1),COLORWHITE;

看底:STICKLINE(中线<15,中线,15,6,0),COLORF00FF0;

黄金坑:STICKLINE(短线<20 AND 中线<20 AND 长线<20,MAX(长线,MAX(短线,中线)),20,8,0),COLOR00CCFF;

看顶:STICKLINE(中线>80,80,中线,6,0),COLORFF33FF;

DRAWICON(CROSS(长线,15),中线,1);

DRAWTEXT(LONGCROSS(中线,20,15),20,’追涨’);

DRAWTEXT(CROSS(短线,长线)AND 长线<18 AND 长线>REF(长线,1)OR CROSS(长线,5),20,’临时底部’),COLORYELLOW;

粘合星: DRAWTEXT(ABS(中线-长线)<2 AND 中线>REF(中线,1),中线,’*’);

中线2:=-100*(HHV(HIGH,40)-CLOSE)/(HHV(HIGH,40)-LLV(LOW,40));

底: DRAWTEXT(CROSS(中线2,-90) AND (长线<中线 AND 长线>REF(长线,1)OR 短线<20 AND 中线<20 AND 长线<20),长线,’底’),COLORBB0000;

DRAWTEXT(CROSS(中线,80),74,’顶部区域’),COLORRED;

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