通达信高量换手副图指标 源码分享 附图
历低价:LOWRANGE(L),COLORLICYAN NODRAW;
历高价:TOPRANGE(H),COLORMAGENTA,NODRAW;
历低量:LOWRANGE(V),COLORLICYAN NODRAW;
历高量:TOPRANGE(V),COLORMAGENTA,NODRAW;
NHL:=COUNT(BARSLAST(MA(C,250)>REF(MA(C,250),1))>=220,30)>=1 AND BARSLAST(MA(C,250)<=REF(MA(C,250),1))>=1;
NOTEXTQ:IF(MA(C,250)>=REF(MA(C,250),1),MA(C,250),DRAWNULL)COLORRED LINETHICK2;
NOTEXTR:IF(MA(C,250)<REF(MA(C,250),1),MA(C,250),DRAWNULL)COLORLICYAN LINETHICK2;
NOTEXTD:IF(COUNT(BARSLAST(MA(C,250)>REF(MA(C,250),1))>=220,30)>=1 AND BARSLAST(MA(C,250)<=REF(MA(C,250),1))>=1 AND MA(C,20)>MA(C,250),MA(C,250),DRAWNULL)COLORMAGENTA LINETHICK5;
NO2:=REF(IF(REF(V>=REF(V,1)*1.87 AND C>=(REF(C,1),O) AND TOPRANGE(V)>=20,1) AND L>REF(O,1),REF(O,1),REF(IF(L>REF(H,1),REF(H,1),O),BARSLAST(FILTER(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(BARSCOUNT(V),20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(MA(C,20),MA(C,250)) AND C/MA(C,250)<1.15 OR CROSS(C,MA(C,250))))=1,5)))),BARSLAST(FILTER(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(BARSCOUNT(V),20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND
(CROSS(MA(C,20),MA(C,250)) AND C/MA(C,250)<1.15 OR CROSS(C,MA(C,250))))=1,5)));
NOD:=REF(IF(REF(L,1)>REF(H,2),REF(H,2),NO2),BARSLAST(FILTER(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(BARSCOUNT(V),20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(MA(C,20),MA(C,250)) AND C/MA(C,250)<1.15 OR CROSS(C,MA(C,250))))=1,5)));
DRAWKLINE(H,O,L,C);
STICKLINE(REF(O,1),REF(IF(REF(L,1)>REF(H,2),REF(H,2),NO2),BARSLAST(FILTER(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(BARSCOUNT(V),20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(MA(C,20),MA(C,250)) AND C/MA(C,250)<1.15 OR CROSS(C,MA(C,250))))=1,5))),REF(IF(REF(L,1)>REF(H,2),REF(H,2),NO2),BARSLAST(FILTER(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(BARSCOUNT(V),20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(MA(C,20),MA(C,250)) AND C/MA(C,250)<1.15 OR CROSS(C,MA(C,250))))=1,5))),2,0),COLOR404080;
STICKLINE(H,REF(O,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1),3))),REF(O,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1),3))),1,0),COLORBLUE;
STICKLINE(H,REF(C,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1),1))),REF(C,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1),1))),1,0),COLORLIGRAY;
STICKLINE(V>=REF(V,1)*1.87 AND C>=(REF(C,1),O) AND TOPRANGE(V)>=20,O,C,3,0)COLORBLUE;
STICKLINE(V/REF(V,1)>=2.9 AND C>=O AND TOPRANGE(V)>=20,O,C,(-1),0)COLORMAGENTA;
STICKLINE((C-REF(C,1))/REF(C,1)*100<IF(CODELIKE('68'),-9.0,-6.9) AND (C-REF(C,1))/REF(C,1)*100<IF(CODELIKE('30'),-9.0,-6.9),O,C,(-1),0),COLORGREEN;
STICKLINE((C/REF(C,1)-1)*100<IF(CODELIKE('68'),-9.0,-6.9) AND (C-REF(C,1))/REF(C,1)*100<IF(CODELIKE('30'),-9.0,-6.9) AND H<REF(L,1),O,C,(-1),0),COLORBLACK;
STICKLINE((SUM(AMOUNT,1)/SUM(V,1)/100>REF(C,1) AND C<=O) OR (SUM(AMOUNT,1)/SUM(V,1)/100>REF(C,1) AND C>REF(C,1) AND C<O AND C>300) AND NOT((C-REF(C,1))/REF(C,1)*100>=9.71 AND O=C) AND NOT((C-REF(C,1))/REF(C,1)*100<=-9.71 AND O=C) AND NOT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H) OR AMOUNT/V/100<REF(C,1) AND C>O AND C<300 AND SUM(AMOUNT,1)/SUM(V,1)/100<REF(C,1) AND NOT((C-REF(C,1))/REF(C,1)*100>=9.71 AND O=C) AND NOT((C-REF(C,1))/REF(C,1)*100<=-9.71 AND O=C),MIN(O,C),MIN(O,C)+(MAX(O,C)-MIN(O,C))*0.5,1,0)COLORFF80FF;
STICKLINE(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,O,C,(3),0)COLORRED;
STICKLINE((O-C)/O>0.02 AND C<REF(C,1),(C+O)/2,(C+O)/2,2,1)COLORCYAN;
STICKLINE((C-O)/O>0.02 AND C>REF(C,1),(C+O)/2,(C+O)/2,2,1)COLORCYAN;
STICKLINE(TOPRANGE(V)>=88 AND C>O,(MAX(C,O)-MIN(C,O))*0.50+MIN(C,O),C,(-1),0)COLOR4080FF;
STICKLINE((H-REF(C,1))/REF(C,1)*100>IF(CODELIKE('68'),19.71,9.71) AND (H-REF(C,1))/REF(C,1)*100>IF(CODELIKE('30'),19.71,9.71) AND C<H,MAX(C,O),MAX(C,O)*0.995,(2),0)COLORBLACK;
{换手:(100*V/CAPITAL);}
DRAWICON(FILTER(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(BARSCOUNT(V),20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(MA(C,20),MA(C,250)) AND C/MA(C,250)<1.15 OR CROSS(C,MA(C,250))))=1,5),H+0.05,9)DRAWABOVE;
DRAWTEXT(REF(O,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1),3)))>0 AND CURRBARSCOUNT=1,REF(O,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1),3))),' 高量换手阴') DRAWABOVE COLORFF8000;
DRAWTEXT(REF(C,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1),1)))>0 AND CURRBARSCOUNT=1,REF(C,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C>=O AND {换手>=15 AND} C>=REF(C,1),1))),' 高量换手阳') DRAWABOVE COLORYELLOW;
DRAWNUMBER(REF(O,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1),3)))>0 AND CURRBARSCOUNT=1,REF(O,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1),3))), REF(O,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1),3)))),COLORBLUE;
DRAWNUMBER(REF(C,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1),1)))>0 AND CURRBARSCOUNT=1,REF(C,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1),1))), REF(C,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1),1)))),COLORLIMAGENTA;
{板底:IF(CURRBARSCOUNT<=CONST(REF(BARSLAST(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(BARSCOUNT(V),20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(MA(C,20),MA(C,250)) AND C/MA(C,250)<1.15 OR CROSS(C,MA(C,250))))),1)+1)+1,CONST(REF(NOD,REF(BARSLAST(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(BARSCOUNT(V),20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(MA(C,20),MA(C,250)) AND C/MA(C,250)<1.15 OR CROSS(C,MA(C,250))))),1)+0)),DRAWNULL),COLORMAGENTA,LINETHICK2;DRAWGBK(DATE>1231231,RGB(0,255,0),RGB(255,0,0),0,0,0);}
高阳:IF(CURRBARSCOUNT<=CONST(REF(BARSLAST(FILTER(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1),1)),1)+1)+1,CONST(REF(REF(C,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1),1))),REF(BARSLAST(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1)),1)+1)),DRAWNULL),COLORYELLOW,LINETHICK9;
高阴:IF(CURRBARSCOUNT<=CONST(REF(BARSLAST(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1)),1)+1)+1,CONST(REF(REF(O,BARSLAST(FILTER(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1),3))),REF(BARSLAST(TOPRANGE(V)>=20 AND C<O AND L<=REF(H,1)),1)+1)),DRAWNULL),COLORFF8000 ,LINETHICK9;
DRAWTEXT(高阳,(LOW * 0.989),'←一高阳'),COLORGREEN;
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
输出历低价:最低价RANGE(L),COLORLICYAN NODRAW
输出历高价:TOPRANGE(H),画洋红色,NODRAW
输出历低量:最低价RANGE(V),COLORLICYAN NODRAW
输出历高量:TOPRANGE(V),画洋红色,NODRAW
NHL赋值:COUNT(上次C的250日简单移动平均>REF(C的250日简单移动平均,1距今天数)>=220,30)>=1 AND BARSLAST(C的250日简单移动平均<=REF(C的250日简单移动平均,1))>=1
输出NOTEXTQ:IF(C的250日简单移动平均>=REF(C的250日简单移动平均,1),C的250日简单移动平均,DRAWNULL)画红色 线宽为2
输出NOTEXTR:IF(C的250日简单移动平均[
输出NOTEXTD:IF(COUNT(上次C的250日简单移动平均>REF(C的250日简单移动平均,1距今天数)>=220,30)>=1 AND BARSLAST(C的250日简单移动平均<=REF(C的250日简单移动平均,1))>=1 AND C的20日简单移动平均>C的250日简单移动平均,C的250日简单移动平均,DRAWNULL)画洋红色 LINETHICK5]
NO2赋值:REF(IF(REF(V>=REF(V,1)*1.87 AND C>=(REF(C,1),O) AND TOPRANGE(V)>=20,1) AND L>REF(O,1),REF(O,1),REF(IF(L>REF(H,1),REF(H,1),O),上次FILTER(((C/REF(C,1距今天数)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(V的有效数据周期数,20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(C的20日简单移动平均,C的250日简单移动平均) AND C/C的250日简单移动平均<1.15 OR CROSS(C,C的250日简单移动平均)))=1,5)))),上次FILTER(((C/REF(C,1距今天数)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(V的有效数据周期数,20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND
(CROSS(C的20日简单移动平均,C的250日简单移动平均) AND C/C的250日简单移动平均<1.15 OR CROSS(C,C的250日简单移动平均)))=1,5)))
NOD赋值:REF(IF(REF(L,1)>REF(H,2),REF(H,2),NO2),上次FILTER(((C/REF(C,1距今天数)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(V的有效数据周期数,20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(C的20日简单移动平均,C的250日简单移动平均) AND C/C的250日简单移动平均<1.15 OR CROSS(C,C的250日简单移动平均)))=1,5)))
DRAWKLINE(H,O,L,C)
STICKLINE(1日前的O,REF(IF(REF(L,1)>REF(H,2),REF(H,2),NO2),上次FILTER(((C/REF(C,1距今天数)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(V的有效数据周期数,20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(C的20日简单移动平均,C的250日简单移动平均) AND C/C的250日简单移动平均<1.15 OR CROSS(C,C的250日简单移动平均)))=1,5))),REF(IF(REF(L,1)>REF(H,2),REF(H,2),NO2),上次FILTER(((C/REF(C,1距今天数)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(V的有效数据周期数,20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(C的20日简单移动平均,C的250日简单移动平均) AND C/C的250日简单移动平均<1.15 OR CROSS(C,C的250日简单移动平均)))=1,5))),2,0),COLOR404080
STICKLINE(H,REF(O,上次FILTER(TOPRANGE(V距今天数>=20 AND C=20 AND C
STICKLINE(H,REF(C,上次FILTER(TOPRANGE(V距今天数>=20 AND C>=O AND C>=REF(C,1),1))),REF(C,上次FILTER(TOPRANGE(V距今天数>=20 AND C>=O AND C>=REF(C,1),1))),1,0),COLORLIGRAY
STICKLINE(V>=1日前的V*1.87 AND C>=(1日前的C,O) AND TOPRANGE(V)>=20,O,C,3,0) 画蓝色
STICKLINE(V/1日前的V>=2.9 AND C>=O AND TOPRANGE(V)>=20,O,C,(-1),0)画洋红色
STICKLINE((C-1日前的C)/1日前的C*100
STICKLINE((C/1日前的C-1)*100
STICKLINE((1的成交额日累和/1的V日累和/100>1日前的C AND C<=O) OR (1的成交额日累和/1的V日累和/100>1日前的C AND C>1日前的C AND C300) AND NOT((C-1日前的C)/1日前的C*100>=9.71 AND O=C) AND NOT((C-1日前的C)/1日前的C*100<=-9.71 AND O=C) AND NOT(((C/1日前的C)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H) OR 成交额/V/100<1日前的C AND C>O AND C<300 AND 1的成交额日累和/1的V日累和/100<1日前的C AND NOT((C-1日前的C)/1日前的C*100>=9.71 AND O=C) AND NOT((C-1日前的C)/1日前的C*100<=-9.71 AND O=C),O和C的较小值,O和C的较小值+(O和C较大值-O和C的较小值)*0.5,1,0)COLORFF80FF
STICKLINE(((C/1日前的C)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,O,C,(3),0)画红色
STICKLINE((O-C)/O>0.02 AND C<1日前的C,(C+O)/2,(C+O)/2,2,1)画青色
STICKLINE((C-O)/O>0.02 AND C>1日前的C,(C+O)/2,(C+O)/2,2,1)画青色
STICKLINE(TOPRANGE(V)>=88 AND C>O,(C和O较大值-C和O的较小值)*0.50+C和O的较小值,C,(-1),0)COLOR4080FF
STICKLINE((H-1日前的C)/1日前的C*100>IF(CODELIKE('68'),19.71,9.71) AND (H-1日前的C)/1日前的C*100>IF(CODELIKE('30'),19.71,9.71) AND C
输出{换手:(100*V/当前流通股本)
}
DRAWICON(FILTER(((C/1日前的C)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(V的有效数据周期数,20,250), COUNT(((C/1日前的C)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/1日前的C)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(C的20日简单移动平均,C的250日简单移动平均) AND C/C的250日简单移动平均<1.15 OR CROSS(C,C的250日简单移动平均)))=1,5),H+0.05,9)DRAWABOVE
DRAWTEXT(REF(O,上次FILTER(TOPRANGE(V距今天数>=20 AND C0 AND 到最后交易的周期=1,REF(O,上次FILTER(TOPRANGE(V距今天数>=20 AND C
DRAWTEXT(REF(C,上次FILTER(TOPRANGE(V距今天数>=20 AND C>=O AND C>=REF(C,1),1)))>0 AND 到最后交易的周期=1,REF(C,上次FILTER(TOPRANGE(V距今天数>=20 AND C>=O AND {换手>=15 AND} C>=REF(C,1),1))),' 高量换手阳') DRAWABOVE 画黄色
DRAWNUMBER(REF(O,上次FILTER(TOPRANGE(V距今天数>=20 AND C0 AND 到最后交易的周期=1,REF(O,上次FILTER(TOPRANGE(V距今天数>=20 AND C=20 AND C
DRAWNUMBER(REF(C,上次FILTER(TOPRANGE(V距今天数>=20 AND C>=O AND C>=REF(C,1),1)))>0 AND 到最后交易的周期=1,REF(C,上次FILTER(TOPRANGE(V距今天数>=20 AND C>=O AND C>=REF(C,1),1))), REF(C,上次FILTER(TOPRANGE(V距今天数>=20 AND C>=O AND C>=REF(C,1),1)))),COLORLIMAGENTA
输出{板底:IF( 到最后交易的周期<=CONST(REF(上次((C/REF(C,1距今天数)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(V的有效数据周期数,20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(C的20日简单移动平均,C的250日简单移动平均) AND C/C的250日简单移动平均<1.15 OR CROSS(C,C的250日简单移动平均)))),1)+1)+1,CONST(REF(NOD,REF(上次((C/REF(C,1距今天数)-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H AND IF(RANGE(V的有效数据周期数,20,250), COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,8)=1,COUNT(((C/REF(C,1))-1)*100>IF(CODELIKE('68') OR CODELIKE('30'),19.71,9.71) AND C=H,20)=1 AND (CROSS(C的20日简单移动平均,C的250日简单移动平均) AND C/C的250日简单移动平均<1.15 OR CROSS(C,C的250日简单移动平均)))),1)+0)),DRAWNULL),画洋红色, 线宽为2
填充背景(DATE>1231231,RGB(0,255,0),RGB(255,0,0),0,0,0)
输出}
高阳:IF( 到最后交易的周期<=CONST(REF(上次FILTER(TOPRANGE(V距今天数>=20 AND C>=O AND C>=REF(C,1),1)),1)+1)+1,CONST(REF(REF(C,上次FILTER(TOPRANGE(V距今天数>=20 AND C>=O AND C>=REF(C,1),1))),REF(BARSLAST(TOPRANGE(V)>=20 AND C>=O AND C>=REF(C,1)),1)+1)),DRAWNULL),画黄色,LINETHICK9
输出高阴:IF( 到最后交易的周期<=CONST(REF(上次TOPRANGE(V距今天数>=20 AND C=20 AND C=20 AND C
DRAWTEXT(高阳,(最低价 * 0.989),'←一高阳'),画绿色