以下是同花顺秘密买点副图源码看图就懂怎么操作

指标自带买卖点提示,效果见“指标图示”

N1:=50;N:=8;
 80,colorgreen;
 20,colorred;
 LC:=REF(CLOSE,1);
 ☆:SMA(MAX(CLOSE-LC,0),N,1)/SMA(ABS(CLOSE-LC),N,1)*100,coloryellow;
 ☆1:IF(☆<20,40,20),colorred;
 ☆2:IF(☆>80,60,80),colorgreen;
 ☆↑:STICKLINE(FILTER(REF(☆,1)<20 AND ☆>REF(☆,1),5),20,40,8,0),colorred;
 ☆↓:STICKLINE(FILTER(REF(☆,1)>80 AND ☆<REF(☆,1),5),60,80,8,0),colorgreen;
 DRAWTEXT(FILTER(REF(☆,1)<20 AND ☆>REF(☆,1),5),40 ,’买入’ ),colorred;
 DRAWTEXT(FILTER(REF(☆,1)>80 AND ☆<REF(☆,1),5),60 ,’卖出’ ),colorgreen;
 x: REF(CLOSE,1);
冰山: SMA(MAX(CLOSE-x,0),8,1)/SMA(ABS(CLOSE-x),8,1)*100 ;
排顺序: IF(CROSS(冰山,15),20,0),STICK,linethick1;
 DRAWICON(排顺序>0,20,1 );
 DRAWTEXT(CROSS(排顺序,11) , LOW,’→ 低吸 ‘),COLOr00B7B4 ;
买入A:IF(1/WINNER(CLOSE)>100 AND ABS((COST(50)-CLOSE)/CLOSE*100)>30 AND IF(1/WINNER(CLOSE)<REF(1/WINNER(CLOSE),1) AND REF(1/WINNER(CLOSE),1)>REF(1/WINNER(CLOSE),2),120,0),30,0),STICK,colorred,linethick2;

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