以下是大智慧买卖至尊指标公式

VAR1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
 VAR2:=SMA(VAR1,20,1);
 VAR3:=SMA(VAR2,15,1);
 VAR4:=(3*VAR2+2*VAR3)/4;
 VAR5:=REF(VAR4,1);
 RSA:(SMA(MAX(VAR4-VAR5,0),2,1))/(SMA(ABS(VAR4-VAR5),2,1))*100;
 RSB:MA(RSA,10);
买入:IF(RSB<10 AND CROSS(RSA,RSB),50,0),STICK,LINETHICK3,colorred;
卖出:IF(RSB>90 AND CROSS(RSB,RSA),50,0),STICK,LINETHICK3,colorgreen;
 DRAWTEXT(RSB<10 AND CROSS(RSA,RSB),40,’买入’),colorred;
 DRAWTEXT(RSB>90 AND CROSS(RSB,RSA),40,’卖出’),colorgreen;

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