通達信龍年大發主圖生命線指標公式
- 指標類別: 通達信指標公式
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 鬼系
- 畫線方法: 主圖
- 日期:2024-09-26 來源:互聯網
通達信龍年大發主圖生命線指標公式:
VAR1:=(100 - ((70 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR2:=(100 - ((70 * (HHV(HIGH,21) - CLOSE)) / (HHV(HIGH,21) - LLV(LOW,21))));
VAR3:=(100 - MA(((80 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
{DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW * 0.998),1);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH * 1.013),2);}
分界線:MA(CLOSE,5),COLORYELLOW;
DRAWICON(CROSS(分界線,C),H,2);
STICKLINE(C>=分界線 AND C>=O,C,O,3,1),COLORRED;
STICKLINE(C>=分界線 AND C>=O,H,L,0,1),COLORRED;
STICKLINE(C>=分界線 AND C<O,C,O,3,1),COLORRED;
STICKLINE(C>=分界線 AND C<O,O,H,0,1),COLORRED;
STICKLINE(C>=分界線 AND C<O,C,L,0,1),COLORRED;
STICKLINE(C<分界線 AND C>O,C,O,3,1),COLORFFFF00;
STICKLINE(C<分界線 AND C<=O,C,O,3,1),COLORFFFF00;
STICKLINE(C<分界線 AND C<=O,H,L,0,1),COLORFFFF00;
STICKLINE(C<分界線 AND C>O,C,H,0,1),COLORFFFF00;
STICKLINE(C<分界線 AND C>O,O,L,0,1),COLORFFFF00;
MA10:MA(CLOSE,10),COLORYELLOW,LINETHICK2;
AA:=MA10>=REF(MA10,1);
BB:=CLOSE>MA10*1.004;
DRAWICON(AA AND BB,MA10,1);
CC:=MA10<=REF(MA10,1);
DD:=COUNT(CLOSE<=MA10*0.996,2)=2;
DRAWICON(CC AND DD,MA10,2);
VL:=REF(LOW,1);
VAR12:=(SMA(ABS(LOW-VL),13,1))/(SMA(MAX(LOW-VL,0),13,1))*100;
VAR14:=MA(VAR12,13);
VAR15:=LLV(LOW,34);
VAR18:=EMA(IF(LOW<=VAR15,VAR14,0),3);
VAR110:=SMA(SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1),5,1);
VAR111:=SMA((CLOSE-LLV(LOW,54))/(HHV(HIGH,54)-LLV(LOW,54))*100,7,1)*16.18-VAR110*10.9;
T:=FILTER(IF(VAR111<=VAR110 AND VAR18>REF(VAR18,1),VAR18*8,0),20);
DRAWTEXT(T,LOW-0.4,'←Z注意變盤'),COLORFF00FF;
DRAWTEXT(T,LOW-0.2,'GG'),COLORFF00FF;
TR1:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));
ATR9:=MA(TR1,22);
止損線: HHV(H-3*ATR9,22),COLORBLUE,DOTLINE;
VR2:=HHV(HIGH,70);
VR3:=HHV(HIGH,20);
紅: VR2*0.83,COLORRED;
DRAWTEXT(ISLASTBAR,紅,'紅'),COLORRED;
綠: VR3*0.91,COLORGREEN;
DRAWTEXT(ISLASTBAR,綠,'綠'),COLORGREEN;
DRAWTEXT(CROSS(綠,止損線),L*0.99,'出擊'),COLORGREEN;
DRAWICON(CROSS(C,紅),L,9);
DRAWICON(CROSS(C,綠),L,11);
通達信龍年大發主圖生命線指標公式實例圖解:
通達信龍年大發主圖生命線指標公式