操盘线
2015-2-10 12:36:57点击:
云指标公式网
zsx1:=HHV(CLOSE,60);
zq:=BARSLAST(CLOSE=zsx1);
gg:=LLV(CLOSE,zq);
IF(gg=REF(gg,1))
zj:=(zsx1-REF(zsx1,1));
ELSE zj:=0;
IF(zq=0)
mttp:=gg;
ELSE mttp:REF(mttp,1)+zj;
pttp:zsx1;
zsx2:=LLV(CLOSE,60);
zq1:=BARSLAST(CLOSE=zsx2);
gg1:=LLV(CLOSE,zq1);
IF(gg1=REF(gg1,1))
zj1:=(zsx1-REF(zsx2,1));
ELSE zj1:=0;
IF(zq1=0)
mttp1:=gg1;
ELSE mttp1:REF(mttp1,1)+zj1;
pttp1:zsx2;
现价:C;
VAR233:=IF((zsx1-REF(zsx1,1))=0,2,0);
VAR2333:=IF((zsx2-REF(zsx2,1))=0,2,0);
操盘平台:= IF(VAR233=2,2,0);
操盘平台1:= IF(VAR2333=2,2,0);
顶AA:=IF(操盘平台>REF(操盘平台,1),50,0),colorgreen, LINETHICK2;
顶AA1:=IF(操盘平台1>REF(操盘平台1,1),50,0),colorgreen, LINETHICK2;
S线:REF(H,BARSLAST(顶AA=50));
B线:REF(L,BARSLAST(顶AA1=50));
预期获利空间:(S线/B线)*100-100;
底部界入获利:(CLOSE/B线)*100-100;
N:=5;
趋势线:MA(CLOSE,13),colorblack;
PARTLINE(MA(CLOSE,13),MA(CLOSE,13)<REF(MA(CLOSE,13),1),colorgreen,MA(CLOSE,13)>=REF(MA(CLOSE,13),1),colorred),LINETHICK2;
BB:=EMA(C,2);
GG:=EMA(SLOPE(C,26)*15+C,45);
BU:=CROSS(BB,GG);
SEL:=CROSS(BB,GG);
DRAWBMP(BU,L*0.999,'B');
DRAWBMP(SEL,H*1.02,'S');
STICKLINE(BB>=GG,LOW,HIGH,1,1),colorlired;
STICKLINE(BB>=GG,CLOSE,OPEN,8,1),colorlired;
JC:=(REF(C,3)+REF(C,5)+REF(C,7)+REF(C,8)+REF(C,13)+REF(C,21))/6;
参考价:=SMA(JC,5,1),colorcyan;
价:=IF(C>=参考价,参考价,参考价*0.98 ), CIRCLEDOT,COLOR0000FF;
STICKLINE(BB<GG,LOW,HIGH,1,1),colorcyan;
STICKLINE(BB<GG,CLOSE,OPEN,8,1),colorcyan;
PARTLINE(MA(CLOSE,13),MA(CLOSE,13)<REF(MA(CLOSE,13),1),colorgreen,
MA(CLOSE,13)>=REF(MA(CLOSE,13),1),colorred),LINETHICK2;
DRAWICON(CROSS(BB,GG) AND BB>GG,L*0.998,11);
DRAWICON(CROSS(GG,BB) AND BB<GG,H*1.009,2);
STICKLINE(BB>GG AND CLOSE>=OPEN,OPEN,CLOSE,9,1),colorred;
STICKLINE(BB>GG AND CLOSE>=OPEN,OPEN,LOW,0,0),colorred;
STICKLINE(BB>GG AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorred;
STICKLINE(BB>GG AND CLOSE<OPEN,OPEN,CLOSE,9,0),colorred;
STICKLINE(BB>GG AND CLOSE<OPEN,LOW,HIGH,0,0),colorred;
STICKLINE(BB<GG AND CLOSE<=OPEN,OPEN,CLOSE,9,0),colorcyan;
STICKLINE(BB<GG AND CLOSE<=OPEN,LOW,HIGH,0,0),colorcyan;
STICKLINE(BB<GG AND CLOSE>OPEN,OPEN,CLOSE,9,1),colorcyan;
STICKLINE(BB<GG AND CLOSE>OPEN,OPEN,LOW,0,0),colorcyan;
STICKLINE(BB<GG AND CLOSE>OPEN,CLOSE,HIGH,0,0),colorcyan;
STICKLINE(BB=GG AND CLOSE>=OPEN,OPEN,CLOSE,9,1),colorblue;
STICKLINE(BB=GG AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;
STICKLINE(BB=GG AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;
STICKLINE(BB=GG AND CLOSE<OPEN,OPEN,CLOSE,9,0),colorblue;
STICKLINE(BB=GG AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE>=OPEN,OPEN,CLOSE,9,1),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE>=OPEN,OPEN,LOW,0,0),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE>=OPEN,CLOSE,HIGH,0,0),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE<OPEN,OPEN,CLOSE,9,0),colorblue;
STICKLINE((BB='-' OR GG='-') AND CLOSE<OPEN,LOW,HIGH,0,0),colorblue;