全能黄金分割
指标的参数:
2022644124682547.png
A1:=REF(LLV(L,1),N);
AA:=LLVBARS(L,20);
B11:=REF(H,N-20+N1);
STICKLINE(V>=REF(V,1) AND C>=REF(C,1),O,C,2.8,0),COLOR000068;
STICKLINE(V<REF(V,1) AND C<REF(C,1),C,O,2.8,0.028),COLOR238E23;
YU:=V>REF(V,1)*1.8 AND C>=REF(C,1);
YU1:=V>=HHV(V,3) AND C>=REF(C,1);
STICKLINE(YU OR YU1,C,O,0.1,0),COLOR0000DD;
B1:=REFDATE(B11-50+N2/100,DATE),COLOR0000FF,LINETHICK2;
一:REFDATE(B1+(B1-A1)*0.83,DATE),DOTLINE,COLOR007FFF;
二:REFDATE(B1+(B1-A1)*1.4,DATE),DOTLINE,COLOR007FFF;
三:REFDATE(B1+(B1-A1)*2.1,DATE),COLOR007FFF,LINETHICK1;
四:REFDATE(B1+(B1-A1)*2.5,DATE),DOTLINE,COLOR007FFF;
五:REFDATE(B1+(B1-A1)*2.97,DATE),DOTLINE,COLOR007FFF;
六:REFDATE(B1+(B1-A1)*3.7,DATE),COLOR007FFF,LINETHICK1;
七:REFDATE(B1+(B1-A1)*4.35,DATE),DOTLINE,COLOR007FFF;
八:REFDATE(B1+(B1-A1)*5,DATE),COLOR007FFF,LINETHICK1;
九:REFDATE(B1+(B1-A1)*5.8,DATE),DOTLINE,COLOR007FFF;
A:REFDATE(A1,DATE),COLOR007FFF,LINETHICK2;
S:REFDATE(A1+(B1-A1)*0.4,DATE),DOTLINE,COLORGREEN;
B:REFDATE(B1,DATE),COLOR007FFF,LINETHICK2;
STICKLINE(L=A,A,B,0.98,0),COLOR007FFF;
T1:=CONST(C>=L);
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,一,' 1'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,二,' 2'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,三,' 3'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,四,' 4'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,五,' 5'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,六,' 6'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,七,' 7'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,八,' 8'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,九,' 9'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,A,' A'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,B,' B'),COLOR007FFF;
DRAWTEXT(T1=1 AND CURRBARSCOUNT=1,S,' S'),COLORGREEN;
202264414690876.png
|