控盤線(操盤室專版)
DRAWTEXT(BARPOS=SYSPARAM(2),SYSPARAM(4),'磨钉'),colorFF;
Y4:=STRCMP(USERNAME,'ぱネ墓產')<>0 AND STRCMP(USERNAME,'wjp')<>0;
FO:=OPEN;
FH:=HIGH;
FL:=LOW;
FC:=CLOSE;
KK:=IF(FC>=FO AND (FC>=REF(FC,1) OR REF(FC,1)>=REF(FO,1)),1,IF(FC<FO AND (FC<REF(FO,1) OR REF(FC,1)<REF(FO,1)),-1,0));
FCFO:=FC-FO;
KKS1:=KK=1 AND FC>=FO OR KK=1 AND FC<FO;
FOFC:=FO-FC;
KKS2:=KK<=0 AND FC>=FO OR KK<=0 AND FC<FO;
STDS:=STD(CLOSE,N);
D:=(FO+FC)/2;
さ锣:=IF(KK=1,MIN(FC,FO),IF(KK=-1,MAX(FC,FO),IF(REF(KK,1)=1,MIN(FC,FO),IF(REF(KK,1)=-1,MAX(FC,FO),(FC+FO)/2))));
HL:=EMA(HIGH,5);
LL:=EMA(LOW,5);
CH:=CROSS(CLOSE,HL);
CL:=-CROSS(LL,CLOSE);
TF:=IF(CH,CH,IF(CROSS(LL,CLOSE),CL,0));
UD:=REF(TF,BARSLAST(TF));
北絃絬:=IF(UD>0,LL,HL);
PARTLINE(1,北絃絬),LINETHICK2,colorFFFF;
PARTLINE(UD=1 AND REF(UD,1)=1,LL),LINETHICK4,colorFF;
PARTLINE(UD=-1 AND REF(UD,1)=-1,HL),LINETHICK4,colorFF00;
VAR111:=UD=-1 AND REF(UD,1)=-1;
VAR112:=(CLOSE+HIGH+LOW)/3;
VAR113:=EMA(VAR112,10);
VAR114:=REF(VAR113,1);
VAR115:=VAR113-VAR114;
VAR331:=(HHV(INDEXH,21)-INDEXC)/(HHV(INDEXH,21)-LLV(INDEXL,21))*100-10;
VAR332:=(INDEXC-LLV(INDEXL,21))/(HHV(INDEXH,21)-LLV(INDEXL,21))*100;
VAR3331:=SMA(VAR332,13,8);
VAR333:=SMA(VAR3331,13,8);
M8:=EMA(CLOSE,8);
M13:=EMA(M8,13);
VAR1:=EMA(M13,62);
VAR2:=(CLOSE+HIGH+LOW)/3;
VAR3:=EMA(VAR2,10);
VAR4:=REF(VAR3,1);
VAR5:=(REF(HIGH,1)+REF(LOW,1))/2;
VAR6:=MA(CLOSE,17)+2*STD(CLOSE,17);
VAR7:=REF(CLOSE,1);
VAR8:=(SMA(MAX(CLOSE-VAR7,0),7,1))/(SMA(ABS(CLOSE-VAR7),7,1))*100;
VAR9:=CROSS(69,VAR8);
VARA:=FILTER(VAR9,4);
VARB:=(2*CLOSE+HIGH+LOW)/4;
VARC:=LLV(LOW,34);
VARD:=HHV(HIGH,34);
VARE:=EMA((VARB-VAR1)/(VAR5-VAR1)*100,7);
VARF:=EMA(0.667*REF(VARE,1)+0.333*VARE,5);
VAR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;
VAR11:=REF(CLOSE,1);
VAR12:=(SMA(MAX(CLOSE-VAR11,0),N,1))/(SMA(ABS(CLOSE-VAR11),N,1))*100;
GRR:=COST(50)*0.98;
|