精 彩 内 容 呈 现
图片
指 标 源 码P1:=5;
P2:=20;
MAR1:=MA(CLOSE,P1);
C1:=C>=MAR1;
C2:=C<MAR1;
章鱼:=C1>=C2;
BB:=C2>C1;
STICKLINE(章鱼,C,O,3,0),COLORRED;
STICKLINE(章鱼,H,L,0,0),COLORRED;
STICKLINE(BB,C,O,3,0),COLOR00FF00;
STICKLINE(BB,H,L,0,0),COLOR00FF00;
STICKLINE(章鱼,CLOSE,OPEN,3,0),COLOR000099;
STICKLINE(章鱼,CLOSE,OPEN,2.2,0),COLOR0000CC;
STICKLINE(章鱼,CLOSE,OPEN,1.5,0),COLOR0000FF;
STICKLINE(章鱼,CLOSE,OPEN,0.5,0),COLORCC66FF;
STICKLINE(BB,CLOSE,OPEN,3,0),COLORFF7700;
STICKLINE(BB,CLOSE,OPEN,2.2,0),COLORFF9900;
STICKLINE(BB,CLOSE,OPEN,1.5,0),COLORFFBB00;
STICKLINE(BB,CLOSE,OPEN,0.5,0),COLORCYAN;
M章鱼:MAR1,COLOR00FF00,LINETHICK2;
IF(M章鱼>=REF(M章鱼,1),M章鱼,DRAWNULL),COLORRED,LINETHICK2;
IF(M章鱼<REF(M章鱼,1),M章鱼,DRAWNULL),COLORFFFFFF,LINETHICK2;
MAB:MA(CLOSE,P2),COLOR00FF00,LINETHICK2;
IF(MAB>=REF(MAB,1),MAB,DRAWNULL),COLORMAGENTA,LINETHICK2;
IF(MAB<REF(MAB,1),MAB,DRAWNULL),COLORGREEN,LINETHICK2;
ZYG2:=(2*CLOSE+HIGH+LOW)/4;
ZYG4:=LLV(LOW,5);
ZYG5:=HHV(HIGH,4);
ZYG6:=EMA((ZYG2-ZYG4)/(ZYG5-ZYG4)*100,4);
ZYG7:=EMA(0.667*REF(ZYG6,1)+0.333* ZYG6,2);
章鱼A:= M章鱼>=REF(M章鱼,1);
BBB:= M章鱼<REF(M章鱼,1);
DDD:=MAB>=REF(MAB,1);
EEE:=MAB<REF(MAB,1);
TT:=IF(ISLASTBAR,240/FROMOPEN,1);
NN:=120;
HH:=HHV(V*TT,NN);
LL:=LLV(V,NN);
章鱼最高:=CONST(HH);
章鱼最低:=CONST(LL);
章鱼最高2:=CONST(HHV(H,NN));
章鱼最低2:=CONST(LLV(L,NN));
PP:=IF((章鱼最高2*0.9-(章鱼最高2-章鱼最低2)*0.5)>CONST(LLV(L,20)),0.9,IF((章鱼最高2*0.9-(章鱼最高2-章鱼最低2)*0.5)>CONST(LLV(L,50)),0.7,0.6)),NODRAW;
RCC1:=章鱼最高2*0.9-(章鱼最高2-章鱼最低2)*PP;
章鱼最低3:=MIN(RCC1,章鱼最低2);
章鱼1:=章鱼最低3;DRAWTEXT_FIX(C>O,0.01,0.51,0,'更多精彩打算公式,请关切微信公众号:邃晓信打算公式'),COLORYELLOW;
STICKLINE(章鱼A,章鱼1-0.000*章鱼1,章鱼1-0.040*章鱼1,4,0),COLOR0000FF;
STICKLINE(BBB,章鱼1-0.000*章鱼1,章鱼1-0.040*章鱼1,4,1),COLOR686868;
STICKLINE(EEE,章鱼1-0.050*章鱼1,章鱼1-0.090*章鱼1,4,1),COLOR686868;
STICKLINE(DDD,章鱼1-0.050*章鱼1,章鱼1-0.090*章鱼1,4,0),COLORFF00FF;
章鱼哥:=章鱼A AND DDD;
章鱼哥1:=章鱼哥 AND REF(章鱼哥,1)=0;
章鱼哥2:=章鱼哥1 AND COUNT(章鱼哥1,BARSLAST(CROSS(M章鱼,MAB)))=1;
DRAWICON(章鱼哥2,L,26);
本日保护价:(REF(C,2)+REF(C,1)+O)/3,COLOR00FFFF,NODRAW;
章鱼偏抓:IF(CURRBARSCOUNT<=60,CONST(IF(ISLASTBAR=1,HHV(H,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,DOTLINE;
章鱼低点:IF(CURRBARSCOUNT<=60,CONST(IF(ISLASTBAR=1,LLV(L,BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,DOTLINE;
STICKLINE(CCI>=200 AND H>=章鱼偏抓,O,C,3,0),COLORBLUE;
STICKLINE(CCI<=100 AND L<=章鱼低点,O,C,3,0),COLORYELLOW;
DRAWTEXT(ISLASTBAR,章鱼偏抓,'章鱼偏抓'),COLORRED;
DRAWTEXT(ISLASTBAR,章鱼低点,'章鱼低点'),COLORMAGENTA;
对应的选股公式:
P1:=5;
P2:=20;
MAR1:=MA(CLOSE,P1);
C1:=C>=MAR1;
C2:=C<MAR1;
AA:=C1>=C2;
BB:=C2>C1;
MAA:=MAR1;
MAB:=MA(CLOSE,P2);
ZYG2:=(2*CLOSE+HIGH+LOW)/4;
ZYG4:=LLV(LOW,5);
ZYG5:=HHV(HIGH,4);
ZYG6:=EMA((ZYG2-ZYG4)/(ZYG5-ZYG4)*100,4);
ZYG7:=EMA(0.667*REF(ZYG6,1)+0.333* ZYG6,2);
AAA:= MAA>=REF(MAA,1);
BBB:= MAA<REF(MAA,1);
DDD:=MAB>=REF(MAB,1);
EEE:=MAB<REF(MAB,1);
TT:=IF(ISLASTBAR,240/FROMOPEN,1);
NN:=120;
HH:=HHV(V*TT,NN);
LL:=LLV(V,NN);
章鱼最高:=CONST(HH);
章鱼最低:=CONST(LL);
章鱼最高2:=CONST(HHV(H,NN));
章鱼最低2:=CONST(LLV(L,NN));
PP:=IF((章鱼最高2*0.9-(章鱼最高2-章鱼最低2)*0.5)>CONST(LLV(L,20)),0.9,IF((章鱼最高2*0.9-(章鱼最高2-章鱼最低2)*0.5)>CONST(LLV(L,50)),0.7,0.6));
RCC1:=章鱼最高2*0.9-(章鱼最高2-章鱼最低2)*PP;
章鱼最低3:=MIN(RCC1,章鱼最低2);
AA1:=章鱼最低3;
章鱼哥:=AAA AND DDD;
章鱼哥1:=章鱼哥 AND REF(章鱼哥,1)=0;
XG:章鱼哥1 AND COUNT(章鱼哥1,BARSLAST(CROSS(MAA,MAB)))=1;
使用评释:
无
图片
图片
图片
本站仅提供存储奇迹,通盘本体均由用户发布,如发现存害或侵权本体,请点击举报。