求百日低量柱选股公式
那位师兄师姐,可以帮忙做一个百日低量柱的选股公式,谢谢 本帖最后由 13021410152 于 2023-6-14 18:18 编辑好好学习 N日内的成交量之和很少不就行了 {自用地量买点}
VOLUME := VOL;
MAVOL1 := MA(VOLUME,5);
MAVOL2 := MA(VOLUME,34);
MAVOL3 := MA(VOLUME,135);
XG := IF(CROSS(0.6,((((1 / VOL) * 3000) > 0.01) AND (KDJ.J < 0)) AND (CCI.CCI < -100)),VOLUME * 5,0);
XGG := XG > 0;
AA := (VOL >= (REF(V,1) * 1.91)) AND (C > (REF(C,1) * 1.01));
AA1 := VOL < REF(LLV(VOL,13),1);
AA2 := VOL < REF(LLV(VOL,55),1);
AA3 := ((ABS(VOL - REF(VOL,1))) / REF(VOL,1)) <= 0.05;
A := STICKLINE(AA1,0,V,1,0);
B := STICKLINE(AA2,0,V,1,0);
绿量 := (A = 1) AND (COUNT(OPEN < CLOSE,1));
粉量 := B = 1;
自用选股 : (XGG AND 绿量) OR (XGG AND 粉量),COLORMAGENTA; 大盘密钥 发表于 2023-6-22 11:37
{自用地量买点}
VOLUME := VOL;
MAVOL1 := MA(VOLUME,5);
谢谢师兄 {自用地量买点} VOLUME := VOL; MAVOL1 := MA(VOLUME,5); MAVOL2 := MA(VOLUME,34); MAVOL3 := MA(VOLUME,135); XG := IF(CROSS(0.6,((((1 / VOL) * 3000) > 0.01) AND (KDJ.J < 0)) AND (CCI.CCI < -100)),VOLUME * 5,0); XGG := XG > 0; AA := (VOL >= (REF(V,1) * 1.91)) AND (C > (REF(C,1) * 1.01)); AA1 := VOL < REF(LLV(VOL,13),1); AA2 := VOL < REF(LLV(VOL,55),1); AA3 := ((ABS(VOL - REF(VOL,1))) / REF(VOL,1)) <= 0.05; A := STICKLINE(AA1,0,V,1,0); B := STICKLINE(AA2,0,V,1,0); 绿量 := (A = 1) AND (COUNT(OPEN < CLOSE,1)); 粉量 := B = 1; 自用选股 : (XGG AND 绿量) OR (XGG AND 粉量),COLORMAGENTA; DING:=MAX(O,C); DI:=MIN(O,C); YANG:=(C>=REF(DING,1)); YIN:=NOT(YANG); YANG1:=YANG AND C>=REF(DING,BARSLAST(YIN)) AND V>REF(V,BARSLAST(YIN)); YANGSHENG:=YANG1 AND COUNT(YANG1,BARSLAST(YIN))=1; D1:=BARSSINCE(YANGSHENG); D2:=BARSLAST(YANGSHENG); XG:REF(MIN(C,O),D1)>REF(MIN(C,O),D2) AND C>REF(MIN(C,O),D1) AND D2<15; DING:=MAX(O,C); DI:=MIN(O,C); YANG:=(C>=REF(DING,1)); YIN:=NOT(YANG); YANG1:=YANG AND C>=REF(DING,BARSLAST(YIN)) AND V>REF(V,BARSLAST(YIN)); YANGSHENG:=YANG1 AND COUNT(YANG1,BARSLAST(YIN))=1; D1:=BARSSINCE(YANGSHENG); D2:=BARSLAST(YANGSHENG); XG:REF(MIN(C,O),D1)>REF(MIN(C,O),D2) AND C>REF(MIN(C,O),D1) AND D2<15; DING:=MAX(O,C); DI:=MIN(O,C); YANG:=(C>=REF(DING,1)); YIN:=NOT(YANG); YANG1:=YANG AND C>=REF(DING,BARSLAST(YIN)) AND V>REF(V,BARSLAST(YIN)); YANGSHENG:=YANG1 AND COUNT(YANG1,BARSLAST(YIN))=1; D1:=BARSSINCE(YANGSHENG); D2:=BARSLAST(YANGSHENG); XG:REF(MIN(C,O),D1)>REF(MIN(C,O),D2) AND C>REF(MIN(C,O),D1) AND D2<15; DING:=MAX(O,C); DI:=MIN(O,C); YANG:=(C>=REF(DING,1)); YIN:=NOT(YANG); YANG1:=YANG AND C>=REF(DING,BARSLAST(YIN)) AND V>REF(V,BARSLAST(YIN)); YANGSHENG:=YANG1 AND COUNT(YANG1,BARSLAST(YIN))=1; D1:=BARSSINCE(YANGSHENG); D2:=BARSLAST(YANGSHENG); XG:REF(MIN(C,O),D1)>REF(MIN(C,O),D2) AND C>REF(MIN(C,O),D1) AND D2<15; DING:=MAX(O,C); DI:=MIN(O,C); YANG:=(C>=REF(DING,1)); YIN:=NOT(YANG); YANG1:=YANG AND C>=REF(DING,BARSLAST(YIN)) AND V>REF(V,BARSLAST(YIN)); YANGSHENG:=YANG1 AND COUNT(YANG1,BARSLAST(YIN))=1; D1:=BARSSINCE(YANGSHENG); D2:=BARSLAST(YANGSHENG); XG:REF(MIN(C,O),D1)>REF(MIN(C,O),D2) AND C>REF(MIN(C,O),D1) AND D2<15; 谢谢楼主无私分享! 谢谢各位师兄的帮忙。 v=llv(v,100); 好好学习,天天向上!
页:
[1]