以下是同花顺鲁南用主图指标

同花顺鲁南用主图指标

源码

ED1:=(-2*REF(C,2)+REF(C,1)+2*C);
ED2:=(-0.4*REF(C,4)-0.4*REF(C,3)-1.1*REF(C,2)+0.9*REF(C,1)+2*C);
ED3:=(-0.8*REF(C,4)-0.8*REF(C,3)-0.2*REF(C,2)+0.8*REF(C,1)+2*C);
CC:=(-2*REF(C,3)+3*REF(C,2)+6*REF(C,1)+7*C)/14;
JF1:=SMA(SMA(ED1,3,1),3,1);
JF2:=SMA(SMA(ED2,4,1),3,1);
JF3:=SMA(SMA(ED3,4,1),4,1);
工作线:=EMA(JF1,14,2),CulorD96C00;
生命线:EMA(JF2,25,2),CulorFFFFFF;
牛熊线:EMA(JF3,88,2),CulorDB00DB;
PARTLINE(工作线,工作线>REF(工作线,1),RGB(250,30,30),工作线<=REF(工作线,1),RGB(50,50,250)),LINETHICK2;
二炮:=(-0.4*REF(C,4)-0.4*REF(C,3)-1.1*REF(C,2)+0.9*REF(C,1)+2*C);
攻击线:=SMA(二炮,4,2),colorred,LINETHICK2;
GJZX:=(H+L+2*C)/4;
blx1:=FORCAST(GJZX,18)-FORCAST(GJZX,4);
blx2:=FORCAST(GJZX,4)-blx1*2;

波浪线:=MA(SLOPE(blx2,3)*0.5+blx2,3);
BDGD:=CROSS(0.8,H=HHV(H,6));
GDSJ:=BARSLAST(BDGD)+1;
波峰:=REF(H,GDSJ),Culor1EFF1E;
BDDD:=CROSS(0.8,L=LLV(L,6));
DDSJ:=BARSLAST(BDDD)+1;
波谷:=REF(L,DDSJ),Culor7400E8;
STICKLINE(GDSJ<=8,波峰,波峰,8,0),CulorFFFF28,LINETHICK02;
STICKLINE(DDSJ<=8,波谷,波谷,8,0),CulorFF2FFF,LINETHICK02;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,10,0),CulorA8A800;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,8,0),CulorC6C600;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,6,0),CulorE3E300;
STICKLINE((OPEN >= CLOSE),CLOSE,OPEN,4,0),CulorFFFF17;//兰跌

STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,10,0),color070084;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,8,0),color0000A3;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,6,0),color0000B7;
STICKLINE((CLOSE >= OPEN),CLOSE,OPEN,4,0),color0000CD;//红持
阻挡:=(SMA(HIGH,21,2) * 1.05);
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻挡)) AND ((CLOSE – REF(CLOSE,1)) > 0)),CLOSE,OPEN,10,0),Culor5100A2;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻挡)) AND ((CLOSE – REF(CLOSE,1)) > 0)),CLOSE,OPEN,8,0),Culor6300C6;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻挡)) AND ((CLOSE – REF(CLOSE,1)) > 0)),CLOSE,OPEN,6,0),Culor7600EC;
STICKLINE(((((CLOSE / OPEN) > 1.04) AND (CLOSE < 阻挡)) AND ((CLOSE – REF(CLOSE,1)) > 0)),CLOSE,OPEN,4,0),Culor870FFF;//紫跟
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),CLOSE,OPEN,10,0),CulorA8A800;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),CLOSE,OPEN,8,0),CulorC6C600;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),CLOSE,OPEN,6,0),CulorE3E300;
STICKLINE(((((CLOSE < REF(CLOSE,1)) AND (CLOSE < REF(CLOSE,1))) AND (HIGH > 阻挡)) AND (CLOSE < 阻挡)),CLOSE,OPEN,4,0),CulorFFFF17;//兰变
F:=100*(C-REF(C,1))/REF(C,1);
p1:=IF(C<REF(O,1) AND f<0,1,0);
p2:=IF(C<REF(O,2) AND f<0,1,0);
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,10,0),Culor820082;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,8,0),Culor9F009F;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,6,0),CulorBD00BD;
STICKLINE(P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,OPEN,CLOSE,4,0),CulorDB00DB;//粉进
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1  AND REF(P2,1)=0,OPEN,CLOSE,10,0),Culor00A800;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1  AND REF(P2,1)=0,OPEN,CLOSE,8,0),Culor00C400;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1  AND REF(P2,1)=0,OPEN,CLOSE,6,0),Culor00E300;
STICKLINE(P1=1 AND REF(P1,1)=0 AND P2=1  AND REF(P2,1)=0,OPEN,CLOSE,4,0),Culor0FFF0F;//绿顶
C3:=REF(C,1);
涨停:IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0),Culor1188FF;
STICKLINE(涨停,OPEN,CLOSE,10,0),Culor0054A8;
STICKLINE(涨停,OPEN,CLOSE,8,0),Culor0063C6;
STICKLINE(涨停,OPEN,CLOSE,6,0),Culor0072E3;
STICKLINE(涨停,OPEN,CLOSE,4,0),Culor1188FF;//暗黄
跌停:IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0),CulorF9A800;
STICKLINE(跌停,OPEN,CLOSE,10,0),Culor996700;
STICKLINE(跌停,OPEN,CLOSE,8,0),CulorB57A00;
STICKLINE(跌停,OPEN,CLOSE,6,0),CulorCC8A00;
STICKLINE(跌停,OPEN,CLOSE,4,0),CulorF9A800;//蓝
VAR1:=4*SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1)-
3*SMA(SMA((CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100,4,1),3.2,1);
VAR2:=7;
CC:=CROSS(VAR1,VAR2);
DRAWTEXT(CC,L*0.98,’★’),Culor20FFFF;
卖出:=CROSS(72,SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100);
DRAWTEXT(卖出,H*1.05,’◆’),Culor0FFF0F;
最新收益:MGSYX(33),Culor6700CE;
指数:INDEXC,NODRAW,Culor1A1AFF ;
AAA:=(3*C+H+L+O)/6;
VARa:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VARa;
立桩量:=FILTER(TJ1,5);
TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
突破:=TJ2=1;
LB:=’————’;
DRAWTEXT(立桩量,REF(HIGH,BARSLAST(立桩量)),LB),Culor20FFFF,LINETHICK02;
DRAWTEXT(立桩量,REF(LOW,BARSLAST(立桩量)),LB),Culor20FFFF,LINETHICK02;
TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));

三天法则:=TJ3=1;
成立:=三天法则 AND 突破;
条件成立:=FILTER(成立,3);
DRAWTEXT(条件成立,L*0.93,’立桩显’),Culor20FFFF;
立桩显:=IF(AMOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1);
STICKLINE(立桩显>=1,O,C,10,0),Culor00A8A8;
STICKLINE(立桩显>=1,O,C,8,0),Culor00C6C6;
STICKLINE(立桩显>=1,O,C,6,0),Culor00E3E3;
STICKLINE(立桩显>=1,O,C,4,0),Culor09FFFF;//黄
T12:=立桩显>=1;
A1:=MIN(O,C);
B1:=ABS(O-C);
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE – LC),0),3,1) / SMA(ABS((CLOSE – LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);
MA15:=EMA(CLOSE,21);
紫底背:88,CulorFF1E8E;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,10,0),CulorB5005A;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,8,0),CulorDB006D;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,4,0),CulorF9007C;
STICKLINE(CROSS(FF,MA15),A1,A1+B1/2,2,0),CulorFF1E8E;//紫底背
白顶背:88,RSI,CulorFFFFFF;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,10,0),CulorA5A5A5;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,8,0),CulorD2D2D2;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,4,0),CulorF0F0F0;
STICKLINE(CROSS(88,RSI),A1+B1,A1+B1/2,2,0),CulorFFFFFF;//白顶背
MA13:=MA(CLOSE,13);
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
EMA8:=EMA(C,8);
A1:=MIN(O,C);
B1:=ABS(O-C);
T1:=FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10);
STICKLINE(T1 AND T12,A1+B1/3,A1+B1*2/3,10,0),Culor970097;
STICKLINE(T1 AND T12,A1+B1/3,A1+B1*2/3,8,0),CulorB500B5;
STICKLINE(T1 AND T12,A1+B1/3,A1+B1*2/3,4,0),CulorD200D2;
STICKLINE(T1 AND T12,A1+B1/3,A1+B1*2/3,2,0),CulorF000F0;//粉红45度升

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