支撑压力指标

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

DA:=1;FA:=5;CT:=1;P:=0;N:=3;
NSB:=IF((HHV(ABS(((HHV(CLOSE,6)/LLV(CLOSE,6))-1)),6)>(10/100)),3,6);
N1B:=IF((MINUTE=5),(NSB*48),IF((MINUTE=15),(NSB*16),IF((MINUTE=30),(NSB*8),IF((MINUTE=60),(NSB*4),NSB))));
MMB:=IF(((P=0) OR (VOL=0)),MA(CLOSE,N1B),((SUM(AMOUNT,N1B)/SUM(VOL,N1B))/100)),NODRAW;
M1B:=REF(MMB,1),NODRAW;
双线持币3:HHV(MA(HIGH,(3)),2),LINETHICK2,COLOR00FF00,NODRAW;
单线持股3:LLV(MA(HIGH,(3)),1),LINETHICK2,NODRAW;
三日价:M1B,LINETHICK2,NODRAW;
三日价1:MMB,COLORRED,LINETHICK2,NODRAW;
NS:=IF((HHV(ABS(((HHV(CLOSE,DA)/LLV(CLOSE,DA))-1)),DA)>(10/100)),1,DA);
N1:=IF((MINUTE=5),(NS*48),IF((MINUTE=15),(NS*16),IF((MINUTE=30),(NS*8),IF((MINUTE=60),(NS*4),NS))));
MM:=IF(((P=0) OR (VOL=0)),MA(CLOSE,N1),((SUM(AMOUNT,N1)/SUM(VOL,N1))/100))/1.0099999999;
M1:REF(MM,1);
双线持币:HHV(MA(HIGH,(2)),2),LINETHICK2,COLOR00FF00;
单线持股:LLV(MA(HIGH,(2)),1),LINETHICK3,COLOR0000FF;
双线持币1:=HHV(MA(HIGH,(3)),2),LINETHICK2,COLOR00FF00;
单线持股1:=LLV(MA(HIGH,(3)),1),LINETHICK3,COLOR0000FF;
买卖价格:M1,LINETHICK0;
明日买卖价格:MM,COLORRED,LINETHICK2,NODRAW;
买入:=IF(CROSS(CLOSE,M1),M1,0);
卖出:=IF(CROSS(M1,CLOSE),M1,0);
DW:=BARSLAST((卖出>0));
EX10:=HHV((买入>0),(DW+1));
BJ:=IF((EX10>REF(EX10,1)),买入,0);
SJ:=IF((EX10DRAWICON(CROSS(CLOSE,M1),(LOW*0.995),1);
DRAWICON(CROSS(M1,CLOSE),(HIGH*1.005),2);
STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,3,0), COLOR0044FF;
STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.6,0), COLOR0077FF;
STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,2.2,0), COLOR1199FF;
STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.8,0), COLOR22BBFF;
STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1.4,0), COLOR33DDFF;
STICKLINE(BJ>0 AND CT=1,OPEN,(CLOSE+OPEN)/2,1,0), COLOR33FFFF;
STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,3,0), COLOR000055;
STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.6,0), COLOR000077;
STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,2.2,0), COLOR000099;
STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1.8,0), COLOR0000BB;
STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1.4,0), COLOR0000DD;
STICKLINE(BJ>0 AND CT=1,CLOSE,(CLOSE+OPEN)/2,1,0), COLOR0033FF;
STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,3.0,0),COLORFF4400;
STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,2.6,0),COLORFF7700;
STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,2.2,0),COLORFF9911;
STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,1.8,0),COLORFFBB22;
STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,1.4,0),COLORFFDD33;
STICKLINE(((SJ>0) AND (CT=1)),CLOSE,(CLOSE+OPEN)/2,1,0),COLORFFFF33;
STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,3.0,0),COLOR550000;
STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,2.6,0),COLOR770000;
STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,2.2,0),COLOR990000;
STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,1.8,0),COLORBB0000;
STICKLINE(((SJ>0) AND (CT=1)),OPEN,(CLOSE+OPEN)/2,1.4,0),COLORDD0000;
STICKLINE(((SJ>0) AND

(CT=1)),OPEN,(CLOSE+OPEN)/2,1,0),COLORFF0000;
均衡线:=EMA(EMA(C,5),5),COLORLIMAGENTA,NODRAW;
VAR1A8:REF((C+H+O+L)/4,1),COLORLIMAGENTA,LINETHICK0,NODRAW;
价格1:M1*1.00999999999,COLORLICYAN,LINETHICK0,NODRAW;
价格2:买卖价格/1.0019999999999,COLORBROWN,LINETHICK0,NODRAW;
价格3:=均衡线,COLORWHITE,LINETHICK0;
DRAWNUMBER(CROSS(CLOSE,买卖价格/1.001999999999) ,L*0.80,买卖价格/1.0051999),COLORRED;
DRAWNUMBER(CROSS(双线持币*1.00072999,CLOSE) ,H*1.4,双线持币*1.00072999),COLOR00FF00;
DRAWNUMBER(CROSS(CLOSE,M1) ,L*0.88,买卖价格),COLORYELLOW;
DRAWNUMBER(CROSS(M1,CLOSE) ,H*1.18,单线持股1*1.00072999),COLORMAGENTA;
MM1:=IF(((P=0) OR (VOL=0)),MA(CLOSE,N1),((SUM(AMOUNT,N1)/SUM(VOL,N1))/100));
M1A:=REF(MM1,1);
双线持币2:=HHV(MA(HIGH,(2)),2),LINETHICK0,COLOR00FF00;
单线持股2:=LLV(MA(HIGH,(2)),1),LINETHICK0,COLOR0000FF;
买卖价格2:M1A,LINETHICK0;
明日买卖价格2:MM1,COLORYELLOW,LINETHICK2,NODRAW;
DRAWNUMBER(CROSS(CLOSE,M1A) ,L*0.92,买卖价格2/1.0051),COLORLIRED;
DRAWNUMBER(CROSS(双线持币2,CLOSE) ,H*1.25,双线持币2*1.00018),COLOR00FF00;
DRAWNUMBER(CROSS(CLOSE,M1A) ,L*0.99,买卖价格2),COLORBROWN;
DRAWNUMBER(CROSS(M1A,CLOSE) ,H*1.12,买卖价格2),COLORMAGENTA;

顶: COST(95)*1, LINETHICK5,COLORLIGREEN,POINTDOT;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
底: EMA(VAR1,99)*0.91, LINETHICK5,COLORMAGENTA,POINTDOT;


YLZC:IF(CLOSE=INDEXC,(INDEXC+INDEXH+INDEXL+INDEXO)/4,AMOUNT/(VOL+0.01)/100),COLORRED,NODRAW;
阻价:=IF(CLOSE=INDEXC,YLZC+INDEXC-INDEXL,YLZC+(CLOSE-LOW)),NODRAW;
支价:=IF(CLOSE=INDEXC,INDEXL+INDEXC-YLZC,LOW+(CLOSE-YLZC))COLORRED,NODRAW;
今压:REF(阻价,1),LINETHICK1,COLORRED,NODRAW;
今撑:REF(支价,1),LINETHICK0,NODRAW;
明压:阻价,LINETHICK0,COLORLIGREEN,NODRAW;
明撑:支价,COLORRED,LINETHICK2,NODRAW;


PT :=REF(HIGH,1)-REF(LOW,1),NODRAW;
重心:(HIGH + LOW + CLOSE)/3,NODRAW;
压力Ⅰ: 2*重心-LOW,NODRAW,COLORRED;
压力Ⅱ:重心 + PT,NODRAW,COLOR00FF00;
支撑Ⅰ:2*重心-HIGH,NODRAW,COLORMAGENTA;
支撑Ⅱ: 重心 - PT,NODRAW;

HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY55日:SQRT(HRY11),COLORWHITE,NODRAW;



HR250:=HHV(HIGH,250);
HRY250:=LLV(LOW,250);
HRY2500:=HR250*HRY250;
HRY250日:SQRT(HRY2500),COLORYELLOW,NODRAW;

HR3:=HHV(HIGH,5);
HRY3:=LLV(LOW,5);
HRY30:=HR3*HRY3;
HRY5日:SQRT(HRY30),COLORRED,NODRAW;

HR5:=HHV(HIGH,21);
HRY5:=LLV(LOW,21);
HRY50:=HR5*HRY5;
HRY21日:SQRT(HRY50),COLORLICYAN,NODRAW;


HR144:=HHV(HIGH,144);
HRY144:=LLV(LOW,144);
HRY1440:=HR144*HRY144;
HRY144日:SQRT(HRY1440),COLORMAGENTA,NODRAW;


HR89:=HHV(HIGH,89);
HRY89:=LLV(LOW,89);
HRY890:=HR89*HRY89;
HRY89日:SQRT(HRY890),COLORGREEN,NODRAW;

主力持仓:EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3), COLORRED,LINETHICK2,NODRAW;
散户持仓:100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20)),COLORGREEN,LINETHICK2,NODRAW;
主筹码:WINNER(C)*100,LINETHICK0,NODRAW;
主力价格:EMA(C,13),COLORRED,LINETHICK1,NODRAW;
散户

价格:EMA((1-C/SMA(C,13,1))*C+主力价格,5),COLORYELLOW,LINETHICK1,NODRAW;

VAR1AAAAA:=1;
VAR2AAAAA:=1/WINNER(CLOSE);
VAR3AAAAA:=MA(CLOSE,13);
VAR4AAAAA:=100-ABS((CLOSE-VAR3AAAAA)/VAR3AAAAA*100);
VAR5AAAAA:=LLV(LOW,75);
VAR6AAAAA:=HHV(HIGH,75);
VAR7AAAAA:=(VAR6AAAAA-VAR5AAAAA)/100;
VAR8AAAAA:=SMA((CLOSE-VAR5AAAAA)/VAR7AAAAA,20,1);
VAR9AAAAA:=SMA((OPEN-VAR5AAAAA)/VAR7AAAAA,20,1);
VARAAAAAA:=3*VAR8AAAAA-2*SMA(VAR8AAAAA,15,1);
VARBAAAAA:=3*VAR9AAAAA-2*SMA(VAR9AAAAA,15,1);
VARCAAAAA:=100-VARBAAAAA;
散户筹码: (100-VARAAAAAA)*VAR1AAAAA,COLOR0099FF,NODRAW;
主力筹码: MA(WINNER(CLOSE*0.95)*100,3)*VAR1AAAAA,COLORYELLOW,NODRAW;

高位:COST(93.5),COLORBLUE,LINETHICK2,NODRAW;
拉高:COST(80),COLORGRAY,LINETHICK2,NODRAW;
中位:COST(60),COLORGREEN,LINETHICK2,NODRAW;
平衡:COST(25),COLORMAGENTA,LINETHICK2,NODRAW;
建仓:COST(13),COLORYELLOW,LINETHICK2,NODRAW;
底仓:COST(5),COLORWHITE,LINETHICK2,NODRAW;

黄线1:EMA((O+C)/2,10),COLORGREEN,LINETHICK2,NODRAW;
黄线2:EMA((O+C)/2,8.5),COLORGREEN,LINETHICK3,NODRAW;
黄线3:EMA((O+C)/2,6)COLORGREEN,LINETHICK3,NODRAW;
黄线4:EMA((O+C)/2,4.5)COLORGREEN,LINETHICK3,NODRAW;
黄线5:EMA((L+H)/2,3),COLORGREEN,NODRAW;

高:(SMA(HIGH,13,2))*(1.05),COLORRED,LINETHICK2,NODRAW;
低:(SMA(LOW,13,2))*(0.94999998),LINETHICK2,COLORMAGENTA,NODRAW;
平:SMA(LOW,3,1),COLORWHITE,LINETHICK2,NODRAW;
短:SMA(CLOSE,2,1),COLORYELLOW,LINETHICK2,NODRAW;
VAR1KKK:=IF((CLOSE>180),91.3,0.91299998);
短支:(INTPART((CLOSE)/(VAR1KKK)))*(VAR1KKK),COLOR0000FF,LINETHICK1,NODRAW;
短压:短支+VAR1KKK,COLOR008000,LINETHICK1,NODRAW;

牛熊界:EMA(CLOSE,250),COLORRED,NODRAW;
MID:=(3*CLOSE+LOW+OPEN+HIGH)/6;
牛线:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+4*REF(MID,16)+3*REF(MID,17)+2*REF(MID,18)+REF(MID,19))/210,COLORYELLOW,NODRAW;
马线:MA(牛线,6),COLORRED,NODRAW;

AAA:=(MA (CLOSE,13)+MA (CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88 ,MA (DDD,3),DDD);
平仓:ZZZ*1.145,COLORCYAN,NODRAW;
风险:ZZZ*1.095,COLORGREEN,NODRAW;
回档:ZZZ*1.04,COLORYELLOW,NODRAW;
平衡1:ZZZ*0.986,COLORWHITE,NODRAW;
反弹:ZZZ*0.918,COLORMAGENTA,NODRAW;
超低:ZZZ*0.880,COLORRED,NODRAW;
满仓:ZZZ*0.83,COLORBLUE,NODRAW;

相关文档
最新文档