去评论
彩虹桥投资充电站

通达信“绝杀买卖点主图”指标公式和选股公式——指标...

章萌主
2023/07/19 07:37:38






公式如下:

DRAWTEXT_FIX(1,0.005,0,0,'所属风格:'),COLORYELLOW;DRAWTEXT_FIX(1,0.06,0,0,FGBLOCK),COLORYELLOW;DRAWTEXT_FIX(1,0.005,0.05,0,'所属概念:'),COLORMAGENTA;DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW;N:=20;M:=321:=802:=100;VAR1:=(C+H+O+L)/4;卖出:=XMA(VAR1,N)*(1+P1/1000),COLORFFFFFF,LINETHICK3;买入:=XMA(VAR1,M)*(1-P2/1000),COLOR0000FF,LINETHICK3;DRAWBAND(卖出,RGB(200,50,55),卖出*1.03,RGB(0,100,50));DRAWBAND(买入,RGB(0,55,0),买入*0.97,RGB(55,55,0));幅度:100*(卖出-买入)/买入,NODRAW;MA1:=MA(VAR1,3);STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN;STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA;DRAWTEXT_FIX(C>O,0.01,0.9,0,'微信公众号:彩虹桥投资学习'),COLORRED;DRAWTEXT(CROSS(C,卖出),卖出*1.05,'卖出'),COLOR00FFFF;机会来临:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0,LINETHICK2;RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K2:=REF(MA(RSV2,3),1)+(RSV2-REF(MA(RSV2,3),1))/3;D2:=REF(MA(K2,3),1)+(K2-REF(MA(K2,3),1))/3;J2:=3*K2-2*D2;BB1:=EMA(J2,5);BB2:=REF(BB1,1);金叉:=CROSS(BB1,BB2);DRAWTEXT(CROSS(C,买入) AND BB1>BB2 AND C>REF(O,2),买入*0.95,'买入'),COLOR0000FF;DRAWICON(CROSS(C,买入) AND 金叉 AND 机会来临 ,LOW*0.96,26);DRAWTEXT(CROSS(C,买入) AND 金叉 AND 机会来临,LOW*0.92,'【绝杀点】'),COLOR00FF00;



信号两个比较简单,就做一个“绝杀点”的选股,如果有其他选股公式需要的,扫描下方二维码联系我。

选股公式如下 :
N:=20;M:=321:=802:=100;VAR1:=(C+H+O+L)/4;买入:=XMA(VAR1,M)*(1-P2/1000);机会来临:=REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1);RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K2:=REF(MA(RSV2,3),1)+(RSV2-REF(MA(RSV2,3),1))/3;D2:=REF(MA(K2,3),1)+(K2-REF(MA(K2,3),1))/3;J2:=3*K2-2*D2;BB1:=EMA(J2,5);BB2:=REF(BB1,1);金叉:=CROSS(BB1,BB2);XG:CROSS(C,买入) AND 金叉 AND 机会来临;


测试一下,平仓规则是,不论盈亏,以持股5天后平仓为条件,胜率为70.88%


风险提示:本指标公式仅作为知识分享,模拟测试不构成任何投资建议,不作投资依据。

END







  • 鍏嶈垂鎸囨爣鍒嗕韩銆愮簿鍝佹寚鏍囥戞捣楸间箣閲戜紭鍖栫増鈥斺旂ǔ瀹氬彲闈犵殑
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愭父璧勯噾榫欑獊鐮淬戜富鍥炬寚鏍 锛屽姪浣犺偂
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愰緳鑸熸姄榫欍 鎵嬫満鐢佃剳閫氱敤鍓夋寚鏍
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇♀滄瀬闄愭礂鐩樷濆壇鍥炬寚鏍囬夎偂鍏紡--鍚姩
  • 鍏嶈垂鎸囨爣鍒嗕韩0729|鈥嬧嬧嬧嬮氳揪淇¢珮鑳滅巼銆愮珵浠疯繛鏉挎墦濡
  • 鍏嶈垂鎸囨爣鍒嗕韩鍛ㄦ湯绂忓埄閾佹爲寮鑺辫繘鍑荤増鎸囨爣婧愮爜涓诲浘闄勫浘閫