去评论
彩虹桥投资充电站

2024跟庄上涨 抓主升浪《通达信+指标+公式+副图+源码》

今日上上签
2024/04/29 17:51:29

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

M5:=MA(CLOSE,5);
M10:=MA(CLOSE,10);
M20:=MA(CLOSE,20);
GUP1:=IF(C>=M5,1,-1);
GUP2:=IF(C>=M10,1,-1);
GUP3:=IF(C>=M20,1,-1);
GUP4:=IF(M5>=REF(M5,1),1,-1);
GUP5:=IF(M10>=REF(M10,1),1,-1);
GUP6:=IF(M20>=REF(M20,1),1,-1);
趋势线GUP1+GUP2+GUP3+GUP4+GUP5+GUP6)/6*100,COLORRED;
上涨:趋势线>=50,COLORYELLOW,POINTDOT,NODRAW;
STICKLINE(CROSS(上涨,0.1),0,100,0,6),COLORYELLOW;
GUA1:=REF(LOW,1);
GUA2:=(SMA(ABS(LOW-GUA1),13,1))/(SMA(MAX(LOW-GUA1,0),13,1))*4;
GUA3:=EMA(GUA2,13);
GUA4:=LLV(LOW,34);
GUA5:=EMA(IF(LOW<=GUA4,GUA3,0),3);
GUA6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUA7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUA8:=GUA6<REF(GUA7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
STICKLINE(GUA8 AND COUNT(GUA8,18)=1,-100,10,4,0),COLORMAGENTA;
DRAWTEXT(GUA8 AND COUNT(GUA8,18)=1,-100,'↙跟庄'),COLORMAGENTA;

选股公式源码



{选股公式一:跟庄}
GUA1:=REF(LOW,1);
GUA2:=(SMA(ABS(LOW-GUA1),13,1))/(SMA(MAX(LOW-GUA1,0),13,1))*4;
GUA3:=EMA(GUA2,13);
GUA4:=LLV(LOW,34);
GUA5:=EMA(IF(LOW<=GUA4,GUA3,0),3);
GUA6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUA7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUA8:=GUA6<REF(GUA7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
跟庄:GUA8 AND COUNT(GUA8,18)=1;
{选股公式二:上涨}
M5:=MA(CLOSE,5);
M10:=MA(CLOSE,10);
M20:=MA(CLOSE,20);
GUP1:=IF(C>=M5,1,-1);
GUP2:=IF(C>=M10,1,-1);
GUP3:=IF(C>=M20,1,-1);
GUP4:=IF(M5>=REF(M5,1),1,-1);
GUP5:=IF(M10>=REF(M10,1),1,-1);
GUP6:=IF(M20>=REF(M20,1),1,-1);
趋势线:=(GUP1+GUP2+GUP3+GUP4+GUP5+GUP6)/6*100,COLORRED;
上涨:=趋势线>=50,COLORYELLOW;
上涨XG:CROSS(上涨,0.1);
  • 鍏嶈垂鎸囨爣鍒嗕韩銆愮簿鍝佹寚鏍囥戞捣楸间箣閲戜紭鍖栫増鈥斺旂ǔ瀹氬彲闈犵殑
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愭父璧勯噾榫欑獊鐮淬戜富鍥炬寚鏍 锛屽姪浣犺偂
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇°愰緳鑸熸姄榫欍 鎵嬫満鐢佃剳閫氱敤鍓夋寚鏍
  • 鍏嶈垂鎸囨爣鍒嗕韩閫氳揪淇♀滄瀬闄愭礂鐩樷濆壇鍥炬寚鏍囬夎偂鍏紡--鍚姩
  • 鍏嶈垂鎸囨爣鍒嗕韩0729|鈥嬧嬧嬧嬮氳揪淇¢珮鑳滅巼銆愮珵浠疯繛鏉挎墦濡
  • 鍏嶈垂鎸囨爣鍒嗕韩鍛ㄦ湯绂忓埄閾佹爲寮鑺辫繘鍑荤増鎸囨爣婧愮爜涓诲浘闄勫浘閫