| | | | 1.智汇主图
CHECK:=STRCMP(USERNAME,'del')>1;
KEY:=NOT(CHECK);
MID:MA(CLOSE,N),COLORYELLOW,LINEDOT;
UPPER:MID+P*STD(CLOSE,N),pointdot,COLORRED;
LOWER:MID-P*STD(CLOSE,N),pointdot,COLORGREEN;
趋势线:IF(KEY,EMA(EMA(EMA(EMA(CLOSE,2),2),5),5),0),LINETHICK2,colorFFFF00;
生命线:IF(KEY,EMA(CLOSE,60),0),LINETHICK2,colorFF;
TT0:=(REF(趋势线,1)<趋势线);
TT1:=(REF(趋势线,1)>趋势线);
TA:=TT0;
TB:=TT1;
STICKLINE((((KEYAND(CLOSE>趋势线))AND(OPEN>趋势线))ANDTA),HIGH,LOW,0.5,0),colorFFFF;
STICKLINE(((((KEYAND(CLOSE>趋势线))AND(OPEN>趋势线))ANDTA)AND(CLOSE<OPEN)),OPEN,CLOSE,8,0),colorFFFF;
STICKLINE(((((KEYAND(CLOSE>趋势线))AND(OPEN>趋势线))ANDTA)AND(CLOSE>=OPEN)),OPEN,CLOSE,8,1),colorFFFF;
STICKLINE(((KEYAND((OPEN<趋势线)OR(OPEN<生命线)))ANDTB),HIGH,LOW,0.5,0),colorCCCCCC;
STICKLINE((((KEYAND((OPEN<趋势线)OR(OPEN<生命线)))ANDTB)AND(CLOSE<OPEN)),OPEN,CLOSE,8,0),colorCCCCCC;
STICKLINE((((KEYAND((OPEN<趋势线)OR(OPEN<生命线)))ANDTB)AND(CLOSE>=OPEN)),OPEN,CLOSE,8,1),colorCCCCCC;
STICKLINE((NOT(((((CLOSE>趋势线)AND(OPEN>趋势线))ANDTA)OR(((OPEN<趋势线)OR(OPEN<生命线))ANDTB)))AND(CLOSE<OPEN)),HIGH,LOW,0.5,0),colorFFFF00;
STICKLINE((NOT(((((CLOSE>趋势线)AND(OPEN>趋势线))ANDTA)OR(((OPEN<趋势线)OR(OPEN<生命线))ANDTB)))AND(CLOSE<OPEN)),OPEN,CLOSE,8,0),colorFFFF00;
STICKLINE((NOT(((((CLOSE>趋势线)AND(OPEN>趋势线))ANDTA)OR(((OPEN<趋势线)OR(OPEN<生命线))ANDTB)))AND(CLOSE>=OPEN)),HIGH,LOW,0.5,0),colorFF;
STICKLINE((NOT(((((CLOSE>趋势线)AND(OPEN>趋势线))ANDTA)OR(((OPEN<趋势线)OR(OPEN<生命线))ANDTB)))AND(CLOSE>=OPEN)),OPEN,CLOSE,8,1),colorFF;
STICKLINE(((BARSCOUNT(CLOSE)<=5)AND(CLOSE<OPEN)),HIGH,LOW,0.5,0),colorFFFF00;
STICKLINE(((BARSCOUNT(CLOSE)<=5)AND(CLOSE<OPEN)),OPEN,CLOSE,8,0),colorFFFF00;
STICKLINE(((BARSCOUNT(CLOSE)<=5)AND(CLOSE>=OPEN)),HIGH,LOW,0.5,0),colorFF;
STICKLINE(((BARSCOUNT(CLOSE)<=5)AND(CLOSE>=OPEN)),OPEN,CLOSE,8,1),colorFF;
2.智汇MACD
CHECK:=STRCMP(USERNAME,'DEL')>1;
KEY:=NOT(CHECK);
VAR1:=EMA(EMA(EMA(CLOSE,13),13),13);
VAR2:=(((VAR1-REF(VAR1,1))/REF(VAR1,1))*1);
IF(KEY,VAR2,0),;
IF(KEY,EMA(VAR2,21),0),;
IF(KEY,VAR2,0),colorstick;
3.智汇KDJ
技术低位:20;
技术中位:50;
技术高位:80;
Var3:=LLV(LOW,33);
Var4:=HHV(HIGH,21);
Var5:=EMA((CLOSE-Var3)/(Var4-Var3)*100,20)*0.998;
目前位置:EMA(0.667*REF(Var5,1)+0.333*Var5,1),CIRCLEDOT;
4.智汇VOL
CHECK:=STRCMP(USERNAME,'del')>1;
KEY:=NOT(CHECK);
VAR1:=((CAPITAL*VOLUNIT)*CLOSE);
流通市值:IF(KEY,(EMA(MA(VAR1,3),9)/100000000),0),colorFF;
涨跌:IF(KEY,(((CLOSE-REF(CLOSE,1))/REF(CLOSE,1))*100),0),colorFFFFFF;
换手率:IF(KEY,((VOL/CAPITAL)*100),0),POINTDOT,colorFF00FF;
量:IF(KEY,VOL,0),VOLSTICK,color66FF;
额:IF(KEY,(AMOUNT/10000),0),VOLSTICK,colorFFFF;
均量1:IF(KEY,MA(VOL,10),0),colorFF00;
均量2:IF(KEY,MA(VOL,20),0),colorFFFF;
均量3:IF(KEY,MA(VOL,40),0),colorFFFFFF;
| | | | |
|