自己组合的主图(源码 主图 贴图)
指标功能:[B]国产软件[/B]
指标类型:简体中文
所需积分:0
推荐星级:
授权方式:共享版
公式大小:0 Bytes
更新时间:2011-03-13 09:31:00
公式简介:
n 2 300 6
k 2 300 12
p 2 300 24
自用主图
下档线:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);
RRRSV:=SMA(下档线,3,1);
KKK:=SMA(RRRSV,3,1);
DDDDD:=((3 * RRRSV) - (2 * KKK));
JJ12:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);
RSV24:=SMA(JJ12,3,1);
K24:=SMA(RSV24,3,1);
D24:=((3 * RSV24) - (2 * K24));
压力2:=IF(CROSS(D24,DDDDD),HIGH,REF(HIGH,BARSLAST(CROSS(D24,DDDDD)))),COLORFFFFFF;
底部:=LLV(HIGH,30),COLOR00FF00;VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红色持股:STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),3,1),COLORRED;
VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
青色观望:STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),3,0),COLORCYAN;
VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;
黄色买进:STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORYELLOW;
VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR
VAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;
品红卖出:STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORMAGENTA;
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR1AA:=(REF(CLOSE,1)-REF(ATR,1));
生命线:(HHV(VAR1AA,12)),LINETHICK2,COLOR0080FF;
阻力:REFDATE(REF(HHV(H,22),1),DATE),COLORGRAY,LINETHICK2;
底:REFDATE(REF(LLV(L,22),1),DATE),COLORGRAY,LINETHICK2;
BG:=BARSCOUNT(C)+2;
NB:=IF(BG<N,BG,N);
KB:=IF(BG<K,BG,K);
PB:=IF(BG<P,BG,P);
MN:=SUM(C,NB)/SUM(1,NB);
MN2:=SUM(C*C,NB)/SUM(1,NB);
MK:=SUM(C,KB)/SUM(1,KB);
MK2:=SUM(C*C,KB)/SUM(1,KB);
MP:=SUM(C,PB)/SUM(1,PB);
MP2:=SUM(C*C,PB)/SUM(1,PB);
MA_S:=IF(CLOSE>0,POW(MN*MK*MP,1/3),(MN+MK+MP)/3);
XZN:=NB/(NB-1);
XZK:=KB/(KB-1);
XZP:=PB/(PB-1);
SD1:=(MN2-MN*MN)*XZN;
SD2:=(MK2-MK*MK)*XZK;
SD3:=(MP2-MP*MP)*XZP;
SD:=SQRT((SD1+SD2+SD3)/3);
天:MA_S+2*SD,LINETHICK2;
平:MA_S,LINETHICK2;
地:MA_S-2*SD,LINETHICK2;
YTYH1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
YTYH2:=SMA(YTYH1,3,1);
YTYH3:=SMA(YTYH2,9,1);
YTYH4:=CROSS(YTYH3,YTYH2);
YTYH5:=YTYH3>80 OR YTYH2>80;
YTYH6:=YTYH4 AND YTYH5;
YTYH7:=EMA(AMOUNT/VOL/100,3);
YTYH8:=EMA(YTYH7,89);
YTYH9:=EMA(YTYH7,89)*0.8;
VRA:=YTYH9*0.8;
VRB:=LOW<VRA AND CLOSE>REF(CLOSE,1)*1.02;
{DRAWICON(YTYH6,HIGH*1.01,2)ALIGN2;};
QWX4:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
QWX6:=CONST((1+7/100)*(DMA(CLOSE,QWX4)));
阻:IF(PERIOD=5,IF(BARSLAST(CURRBARSCOUNT=8),QWX6,DRAWNULL),DRAWNULL),COLORYELLOW;
高A:=REFDATE(HHV(H,180),DATE);
低A:=REFDATE(LLV(L,180),DATE);
HA:=高A-(高A-低A)*0.191;
H2:=高A-(高A-低A)*0.382,COLORFF6198;
H3:=高A-(高A-低A)*0.5,COLORFFFFFF;
H4:=高A-(高A-低A)*0.618;
H5:=高A-(高A-低A)*0.809;
STICKLINE(CURRBARSCOUNT=13,高A,高A,100,-1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=13,HA,HA,100,-1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORCCCCCC;
DRAWTEXT(CURRBARSCOUNT=1,高A,' 高A'),COLORGREEN;
DRAWTEXT(CURRBARSCOUNT=1,HA,' 809'),COLORCYAN;
DRAWTEXT(CURRBARSCOUNT=1,H2,' 618'),COLORFFFFFF;
DRAWTEXT(CURRBARSCOUNT=1,H3,' 中'),COLORYELLOW;
DRAWTEXT(CURRBARSCOUNT=1,H4,' 382'),COLORLIRED;
DRAWTEXT(CURRBARSCOUNT=1,H5,' 191'),COLORMAGENTA;
DRAWTEXT(CURRBARSCOUNT=1,低A,' 低A'),COLORRED;
STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORYELLOW;
STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORLIRED;
STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=13,低A,低A,100,-1),COLORRED;
K:=(C+H+L)/3;
D:=MA(K,4);
DRAWTEXT(REF(C,1)>D AND C<D AND D>REF(D,1),H*1.05
, '*-卖'),COLORRED;
DRAWTEXT(REF(C,1)<D AND C>D AND D<REF(D,1),L*0.98, '*-买'),COLORRED;
VARAA:=IF(CLOSE>150,91.3,0.913);
下:INTPART(CLOSE/VARAA )*VARAA,POINTDOT,LINETHICK4,COLOR5B6EE0;
上:下+VARAA,POINTDOT,LINETHICK4,COLOR00FF00 ;
中:(下+上)/2,POINTDOT,COLORWHITE,LINETHICK4;
CBFB:=COSTEX(C,REF(C,1));
JL:=IF(C>CBFB,V,0);
CL:=IF(C<CBFB,V,0);
JLH:=SUM(JL,4);
CLH:=SUM(CL,4);
LHB:=CLH/JLH;
TJ1:=IF(HHV(LHB,5)>4 AND CROSS(2,LHB) AND C>=O,1,0);
DRAWICON(TJ1,L*0.96,9);
买线:=EMA(C,9);
卖线:=EMA(SLOPE(C,34)*10+C,33);
DRAWTEXT(CROSS(买线,卖线),L-0.5,'*←加仓'),COLORRED;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
老鼠仓:=BB1 AND CC1 AND DD1 AND EE1,LINETHICK0,COLOR0099FF;
DRAWTEXT(老鼠仓,L*0.99,'老鼠仓'),COLOR0099FF;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.05) AND ((HIGH)/(CLOSE)<1.01) AND (VAR3AA>0),91,0);
DRAWTEXT(FILTER((VAR4AA>90),45),(LOW)*(0.93),'★大胆搏 '),COLOR00FFFF;
VAR6D:=REF(C,1);
VAR7D:=SMA(MAX(C-VAR6D,0),6,1)/SMA(ABS(C-VAR6D),6,1)*100;
DRAWTEXT(CROSS(82,VAR7D),H*1.01,'▼逃顶'),COLORYELLOW;
[url=http://www.goodgupiao.com/gupiaogongshi/12760.html][B]自己组合的主图(源码 主图 贴图)[/B][/url]