去评论
彩虹桥投资充电站

2024短线顶底 KD买卖《通达信+指标+公式+副图+源码》

风雨如晦
2024/03/02 11:57:25

副图公式源码支持 手机/电脑

N:=9;M1:=3;M2:=3;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV1,M1,1),COLOR00FFFF,LINETHICK1;
D:SMA(K,M2,1),COLORFFFF00,LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J>REF(J,1),J,DRAWNULL),COLORRED,LINETHICK3;
IF(J<REF(J,1),J,DRAWNULL),COLOR00BB00,LINETHICK3;
DRAWICON(FILTER(J>REF(J,1) AND J<REF(J,3) AND J<K AND K>=REF(K,1) AND J<40 OR CROSS(J,K) AND CROSS(J,D) AND J<40 OR J>REF(J,1) AND J<-20,7),J*0.8,1);
GUP1:=H=HHV(H,20);
GUP2:=BARSLAST(GUP1);
GUP3:=GUP1 AND J<REF(J,REF(GUP2,1)+1);
GUP4:=L=LLV(L,20);
GUP5:=BARSLAST(GUP4);
GUP6:=GUP4 AND J>REF(J,REF(GUP5,1)+1);
DRAWTEXT(GUP3,J,'卖'),COLORYELLOW;
DRAWTEXT(GUP6,J,'买'),COLORRED;

选股公式源码



{选股公式一:买}
N:=9;M1:=3;M2:=3;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV1,M1,1),COLOR00FFFF,LINETHICK1;
D:=SMA(K,M2,1),COLORFFFF00,LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
GUP1:=H=HHV(H,20);
GUP2:=BARSLAST(GUP1);
GUP3:=GUP1 AND J<REF(J,REF(GUP2,1)+1);
GUP4:=L=LLV(L,20);
GUP5:=BARSLAST(GUP4);
GUP6:=GUP4 AND J>REF(J,REF(GUP5,1)+1);
买:GUP6;
{选股公式二:红箭头图标}
N:=9;M1:=3;M2:=3;
RSV1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV1,M1,1),COLOR00FFFF,LINETHICK1;
D:=SMA(K,M2,1),COLORFFFF00,LINETHICK1;
J:=3*K-2*D,COLORFF00FF,LINETHICK1;
红箭头图标:FILTER(J>REF(J,1) AND J<REF(J,3) AND J<K AND K>=REF(K,1) AND J<40 OR CROSS(J,K) AND CROSS(J,D) AND J<40 OR J>REF(J,1) AND J<-20,7);

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