老師幫忙更改一下指標
作者:文華財經 來源:cxh99.com 發布時間:2023年01月16日
-
咨詢內容:
?寸土寸金指標:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K2:=SMA(寸土寸金指標,4,1);
D2:=SMA(K2,3,1);
J2:=3*K2-2*D2;
BB1:=EMA(J2,4);
BB2:=REF(BB1,1);
STICKLINE((BB1 <= BB2),106,100,8,0),COLOR56F709;
STICKLINE((BB1 <= BB2),-1,0,8,0),COLOR2787F1;
STICKLINE((BB1 <= BB2),-2,-1,8,0),COLOR1B7AEF;
STICKLINE((BB1 <= BB2),-6,-2,8,0),COLOR0011E1;
STICKLINE((BB1 <= BB2),100,0,8,0),COLORC0C0C0;
STICKLINE((BB1 >=BB2 ),106,100,8,0 ),COLOR56F709;
STICKLINE((BB1 >=BB2 ),-1,0,8,0 ),COLOR2787F1;
STICKLINE((BB1 >=BB2 ),-2,-1,8,0 ),COLOR1B7AEF;
STICKLINE((BB1 >=BB2 ),-6,-2,8,0 ),COLOR0011E1;
STICKLINE((BB1 >=BB2 ),100,0,8,0 ),COLOR26C5F9;
STICKLINE(BB1>BB2,BB1,BB2,7,0),COLOR000045;
STICKLINE(BB1>BB2,BB1,BB2,5,0),COLOR000085;
STICKLINE(BB1>BB2,BB1,BB2,3,0),COLOR0000C5;
STICKLINE(BB1>BB2,BB1,BB2,1,0),COLOR0000E5;
STICKLINE(BB1<=BB2,BB1,BB2,7,0),COLOR353500;
STICKLINE(BB1<=BB2,BB1,BB2,5,0),COLOR555500;
STICKLINE(BB1<=BB2,BB1,BB2,3,0),COLOR757500;
STICKLINE(BB1<=BB2,BB1,BB2,1,0),COLOR858500;
趨勢:= 5*SMA((CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100,5,1),3,1),2,1),LINETHICK0,COLOR7F52AF;
趨勢1:= EMA(MA(趨勢,5),3),LINETHICK0,COLORA6B8C1;
底部:=5,COLOR000000;
抄底:= IF(CROSS(趨勢,底部),60,0),LINETHICK0,STICK,COLOR00FFFF;
VARA:=LLV(LOW,36);
VARB:=HHV(HIGH,33);
VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;
{底背:} STICKLINE((VARC<8),-10,4,5,0), COLORRED;
{頂背:} STICKLINE(VARC>95,98,112,5,0),COLOR804000;
VARD:=87.5;
VARE:=(VARC-LLV(VARC,7))/(HHV(VARC,4)-LLV(VARC,7))*4*25;
{ {買1: DRAWTEXT(IF(CROSS(VARE,92) AND 趨勢<36 AND (BB1>=60),87,0),97,'' ,COLOR0000FF;}
{目標位: DRAWTEXT(IF(CROSS(趨勢,VARD) AND VARE>=100,50,0),3,'',COLOR808000;}
?
?來源:程序化99
-
文華技術人員:
參考:?
寸土寸金指標:(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K2:=SMA(寸土寸金指標,4,1);D2:=SMA(K2,3,1);J2:=3*K2-2*D2;BB1:=EMA(J2,4);BB2:=REF(BB1,1);STICKLINE((BB1 <= BB2),106,100,8,0),COLOR56F709;STICKLINE((BB1 <= BB2),-1,0,8,0),COLOR2787F1;STICKLINE((BB1 <= BB2),-2,-1,8,0),COLOR1B7AEF;STICKLINE((BB1 <= BB2),-6,-2,8,0),COLOR0011E1;STICKLINE((BB1 <= BB2),100,0,8,0),COLORC0C0C0;STICKLINE((BB1 >=BB2 ),106,100,8,0 ),COLOR56F709;STICKLINE((BB1 >=BB2 ),-1,0,8,0 ),COLOR2787F1;STICKLINE((BB1 >=BB2 ),-2,-1,8,0 ),COLOR1B7AEF;STICKLINE((BB1 >=BB2 ),-6,-2,8,0 ),COLOR0011E1;STICKLINE((BB1 >=BB2 ),100,0,8,0 ),COLOR26C5F9;STICKLINE(BB1>BB2,BB1,BB2,7,0),COLOR000045;STICKLINE(BB1>BB2,BB1,BB2,5,0),COLOR000085;STICKLINE(BB1>BB2,BB1,BB2,3,0),COLOR0000C5;STICKLINE(BB1>BB2,BB1,BB2,1,0),COLOR0000E5;STICKLINE(BB1<=BB2,BB1,BB2,7,0),COLOR353500;STICKLINE(BB1<=BB2,BB1,BB2,5,0),COLOR555500;STICKLINE(BB1<=BB2,BB1,BB2,3,0),COLOR757500;STICKLINE(BB1<=BB2,BB1,BB2,1,0),COLOR858500;趨勢:= 5*SMA((CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,33))/(HHV(HIGH,33)-LLV(LOW,33))*100,5,1),3,1),2,1),NODRAW,COLOR7F52AF;趨勢1:= EMA(MA(趨勢,5),3),NODRAW,COLORA6B8C1;底部:=5,COLOR000000;抄底:= IF(CROSS(趨勢,底部),60,0),NODRAW,STICK,COLOR00FFFF;VARA:=LLV(LOW,36);VARB:=HHV(HIGH,33);VARC:=EMA((CLOSE-VARA)/(VARB-VARA)*4,4)*25;//底背:?STICKLINE((VARC<8),-10,4,5,0), COLORRED;//頂背:?STICKLINE(VARC>95,98,112,5,0),COLOR804000;VARD:=87.5;VARE:=(VARC-LLV(VARC,7))/(HHV(VARC,4)-LLV(VARC,7))*4*25;//買1:?DRAWTEXT(IF(CROSS(VARE,92) AND 趨勢<36 AND (BB1>=60),87,0),97,'' ,COLOR0000FF;//目標位:?DRAWTEXT(IF(CROSS(趨勢,VARD) AND VARE>=100,50,0),3,'',COLOR808000;