去评论
彩虹桥投资充电站

主图买卖点指标源码分享,绿卖红买

抱瓮叟琴
2023/04/21 14:31:26
主图买卖点指标源码分享,绿卖红买

源码

生命线:MA(C,21);

攻击线:MA(C,3),COLORAAEE00;

成长线:MA(C,60),COLORRED;

BHG:=SMA(MAX(CLOSE-REF(CLOSE,1),0),16,2)/SMA(ABS(CLOSE/REF(CLOSE,1)),16,2)*100;

VAR1:=SMA(BHG,3,1);

VAR2:=SMA(VAR1,3,1);

VAR3:=3*VAR1-2*VAR2;

日:=-100;昨前:=-3;

高1:=-REF(-HHV(H,日),昨前);

低1:=-REF(-LLV(L,日),昨前);

低:=-REFDATE(低1,DATE),COLORRED,LINETHICK2;

VARC:=-低+(低+OPEN);

WR1:=-低-(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));

WR2:=-低+(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5));

买入条件:=CROSS(VAR3,VAR2),COLORWHITE;

卖出条件:=CROSS(VAR2,VAR3) ;

DRAWTEXT(卖出条件,HIGH*1.001,'★'),COLORGREEN;

DRAWTEXT(买入条件,LOW*0.998,'■'),COLORRED;

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