GJ:=AMOUNT/vol/100;
五日均价A:=MA(GJ,5)COLORYELLOW,LINETHICK2;
二十日均价A:=MA(GJ,20)COLORFF00FF;
通道上A:=HHV(MA(HIGH,3)*1.03,30);
通道下A:=LLV(MA(LOW,3)*0.97,30);
STICKLINE(五日均价A>二十日均价A,通道上A,通道下A,4,0)COLORLIBLUE;
STICKLINE(五日均价A<二十日均价A,通道上A,通道下A,4,0)COLORLIGRAY;
DP:=(HIGH+LOW)/2;
AA:=MA(DP,5);
BB:=MA(DP,33);
ao:C+(AA-BB);
M5:MA(AO,3),COLORYELLOW,LINETHICK3;
IF(AO>=M5,AO,DRAWNULL),COLORRED,LINETHICK3;
IF(AO<M5,AO,DRAWNULL),COLORGREEN,LINETHICK3;
A2:=通道上A-REF(通道上A,1);
A3:=通道下A-REF(通道下A,1);
通道上:=HHV(MA(HIGH,3)*1.03,30);
通道下:=LLV(MA(LOW,3)*0.97,30);
IF(A2>0,通道上,DRAWNULL) LINETHICK2 COLORBLUE;
IF(A2=0,通道上,DRAWNULL) LINETHICK1 COLORWHITE;
IF(A2<0,通道上,DRAWNULL) LINETHICK1 COLORGREEN;
IF(A3>0,通道下,DRAWNULL) LINETHICK2 COLORMAGENTA;
IF(A3=0,通道下,DRAWNULL) LINETHICK1 COLORWHITE;
IF(A3<0,通道下,DRAWNULL) LINETHICK1 COLORGREEN;
五日均价:MA(GJ,5)COLORBROWN,LINETHICK2;
二十日均价:MA(GJ,20)COLORFF00FF,LINETHICK2;
TT:=IF(五日均价<REF(五日均价,1),五日均价,DRAWNULL)COLORGREEN;
QQ:=(OPEN+CLOSE+HIGH+LOW)/4;
加仓:STICKLINE(二十日均价<QQ AND 五日均价<QQ,HIGH,LOW,0.1,0)COLORRED;
持股:STICKLINE(二十日均价<QQ AND 五日均价<QQ,OPEN,CLOSE,3,0)COLORRED;
清仓:STICKLINE(二十日均价>QQ AND 五日均价>QQ,HIGH,LOW,0.1,0)COLORCYAN;
持币:STICKLINE(二十日均价>QQ AND 五日均价>QQ,OPEN,CLOSE,3,0)COLORCYAN;
减仓:STICKLINE(二十日均价<QQ AND 五日均价>QQ,HIGH,LOW,0.1,0)COLORWHITE;
警戒:STICKLINE(二十日均价<QQ AND 五日均价>QQ,OPEN,CLOSE,3,0)COLORWHITE;
建仓:STICKLINE(二十日均价>QQ AND 五日均价<QQ,HIGH,LOW,0.1,0)COLORYELLOW;
关注:STICKLINE(二十日均价>QQ AND 五日均价<QQ,OPEN,CLOSE,3,0)COLORYELLOW;
DRAWICON(O<二十日均价 AND 二十日均价>QQ AND 五日均价<QQ,L*0.99,1);
DRAWICON(O<五日均价 AND 二十日均价<QQ AND 五日均价>QQ,H*1.01,2);
DRAWTEXT_FIX(1,0.00,0.01,0,’【机械操作】黄建仓,红持股,白减仓,青持币,收盘价大于通道上线特别关注’)COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.06,0,’【机械操作】红箭头买入参考点,绿箭头止损参考点’)COLORLIRED;
DRAWTEXT_FIX(1,0.00,0.12,0,’【机械操作】蓝色背景持股,灰色背景持币’)COLORCYAN;

{
选股公式:

DP:=(HIGH+LOW)/2;
AA:=MA(DP,5);
BB:=MA(DP,33);
AO:=C+(AA-BB);
M5:=MA(AO,3),COLORYELLOW,LINETHICK3;
xg:crOSS(AO, M5)&&DYNAINFO(14)>0.0149&&DYNAINFO(9)>0&&DYNAINFO(17)>0&&c>=3&&c<=70;
}

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。