当前位置:首页 > 炒股入门 > 详情

了解什么是飞狐黄金分割指标,飞狐黄金分割指标公式是什么

2020-12-29 08:50:32 阅读(44) 评论(0) 炒股大本营

 input:S(5,1,300),M(120,1,300);

了解什么是飞狐黄金分割指标,飞狐黄金分割指标公式是什么

  DRAWGBK(c,COLORRGB(10,200,200),COLORRGB(10,10,100),1);

  V1:=((CLOSE + (4 * HIGH)) / 5);

  V2:=LLV(V1,30);

  生死线:=V2 * 0.98,LINETHICK2,colorFF;

  主线:=(WMA(CLOSE,10) * 0.99);

  VAR1:=POW((CLOSE - 主线),1);

  VAR2:=MA(VAR1,3);

  VAR3:=SQRT(VAR2);

  阻力线:=(主线 + (1.96 * VAR3));

  支撑线:=(主线 - (1.96 * VAR3));

  PARTLINE(((主线 》 REF(主线,1)) AND (阻力线 《》 支撑线)),主线),LINETHICK1,colorFF;

  DRAWICON((主线 》 REF(主线,1)),主线,10);

  DRAWICON(((主线 》 REF(主线,1)) AND (REF(主线,1) 《 REF(主线,2))),(主线 * 0.99),12),colorEEFF;

  魔中轨:=MA(CLOSE,24);

  魔道上魔中轨:=MA(CLOSE,24)+2*STD(MA(CLOSE,24),5),POINTDOT,LINETHICK3,colorFF9966;

  魔道下魔中轨:=MA(CLOSE,24)-2*STD(MA(CLOSE,24),5),POINTDOT,LINETHICK3,colorFF9966;

  VAR1:=REF(CLOSE,1);

  VAR2:=((SMA(MAX((CLOSE - VAR1),0),6,1) / SMA(ABS((CLOSE - VAR1)),6,1)) * 100);

  DRAWTEXT(CROSS(80,VAR2),(HIGH * 1.02),‘顶 ’),LINETHICK2,colorEEFF;

  阻挡:=(SMA(HIGH,13,2) * 1.04);

  STICKLINE((OPEN 》= CLOSE),CLOSE,OPEN,9,0),colorFF5B00;

  STICKLINE((OPEN 》= CLOSE),CLOSE,OPEN,8,0),colorFF6C00;

  STICKLINE((OPEN 》= CLOSE),CLOSE,OPEN,7,0),colorFF7B00;

  STICKLINE((OPEN 》= CLOSE),CLOSE,OPEN,6,0),colorFF9C00;

  STICKLINE((OPEN 》= CLOSE),CLOSE,OPEN,5,0),colorFFBE00;

  STICKLINE((OPEN 》= CLOSE),CLOSE,OPEN,3.5,0),colorFFCC00;

  STICKLINE((OPEN 》= CLOSE),CLOSE,OPEN,1.5,0),colorFFFF00;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,8,0),colorAA;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,6,0),colorCC;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,4,0),colorDD;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,2,0),colorFF;

  STICKLINE((CLOSE 》= OPEN),HIGH,LOW,0,0),colorFFFF;

  STICKLINE((CLOSE 《= OPEN),CLOSE,OPEN,8,0),color998855;

  STICKLINE((CLOSE 《= OPEN),CLOSE,OPEN,6,0),colorBBAA77;

  STICKLINE((CLOSE 《= OPEN),CLOSE,OPEN,4,0),colorDDCC99;

  STICKLINE((CLOSE 《= OPEN),CLOSE,OPEN,2,0),colorFFEEBB;

  STICKLINE((CLOSE 《= OPEN),HIGH,LOW,0,0),colorFFFF00;

  STICKLINE((CLOSE 《 OPEN),HIGH,LOW,1,0),color8800;

  STICKLINE((CLOSE 《 OPEN),HIGH,LOW,0,0),colorFF00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,8,0),color8800;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,7,0),color9900;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,6,0),colorAA00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,5,0),colorBB00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,4,0),colorCC00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,3,0),colorDD00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,2,0),colorEE00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,1,0),colorFF00;

  STICKLINE((CLOSE 》= OPEN),HIGH,LOW,1,0),colorFF;

  STICKLINE((CLOSE 》= OPEN),HIGH,LOW,0,0),colorEEFF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,8,0),colorFF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,7,0),color22FF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,6,0),color44FF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,5,0),color66FF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,4,0),color88FF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,3,0),colorAAFF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,2,0),colorCCFF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,1,0),colorEEFF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,2,0),colorCCFF;

  STICKLINE((CLOSE 》= OPEN),CLOSE,OPEN,1,0),colorEEFF;

  STICKLINE((CLOSE 《 OPEN),HIGH,LOW,1,0),color8800;

  STICKLINE((CLOSE 《 OPEN),HIGH,LOW,0,0),colorFF00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,8,0),color8800;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,7,0),color9900;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,6,0),colorAA00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,5,0),colorBB00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,4,0),colorCC00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,3,0),colorDD00;

  STICKLINE((CLOSE 《 OPEN),CLOSE,OPEN,2,0),colorEE00;

  STICKLINE(((((CLOSE 《 REF(CLOSE,1)) AND (CLOSE 《 REF(CLOSE,1))) AND (HIGH 》 阻挡)) AND (CLOSE 《 阻挡)),OPEN,LOW,0.7,0),colorFF0000;

  STICKLINE(((((CLOSE 《 REF(CLOSE,1)) AND (CLOSE 《 REF(CLOSE,1))) AND (HIGH 》 阻挡)) AND (CLOSE 《 阻挡)),CLOSE,HIGH,0.7,0),colorFF0000;

  STICKLINE(((((CLOSE 《 REF(CLOSE,1)) AND (CLOSE 《 REF(CLOSE,1))) AND (HIGH 》 阻挡)) AND (CLOSE 《 阻挡)),CLOSE,OPEN,9,0),colorFF0000;

  STICKLINE(((((CLOSE 《 REF(CLOSE,1)) AND (CLOSE 《 REF(CLOSE,1))) AND (HIGH 》 阻挡)) AND (CLOSE 《 阻挡)),CLOSE,OPEN,6,0),colorFF0000;

  STICKLINE(((((CLOSE 《 REF(CLOSE,1)) AND (CLOSE 《 REF(CLOSE,1))) AND (HIGH 》 阻挡)) AND (CLOSE 《 阻挡)),CLOSE,OPEN,4,0),colorFF0000;

  STICKLINE(((((CLOSE 《 REF(CLOSE,1)) AND (CLOSE 《 REF(CLOSE,1))) AND (HIGH 》 阻挡)) AND (CLOSE 《 阻挡)),CLOSE,OPEN,2,0),colorFF0000;

  DRAWICON((((CLOSE 《 REF(CLOSE,1)) AND (HIGH 》 阻挡)) AND (CLOSE 《 阻挡)),(HIGH * 1.02),5);

  VAR1:=((EMA(CLOSE,3) - EMA(CLOSE,6)) - ((EMA(CLOSE,6) - EMA(CLOSE,12)) * (0 - 100)));

  VAR2:=EMA(VAR1,3);

  VAR3:=((EMA(CLOSE,3) - EMA(CLOSE,6)) - ((EMA(CLOSE,24) - EMA(CLOSE,36)) * (0 - 100)));

  VAR4:=EMA(VAR3,9);

  VAR5:=CROSS(VAR1,VAR2);

  VAR6:=CROSS(VAR2,VAR1);

  牛:STICKLINE(VAR5,OPEN,CLOSE,10,0),colorFFFF;

  纪律:STICKLINE(VAR5,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.33)),10,0),colorFF00FF;

  赚了跑:STICKLINE(VAR5,OPEN,(CLOSE - ((CLOSE - OPEN) * 0.66)),10,0),LINETHICK2,colorFF;

  趋势线:=((3 * SMA((((CLOSE - LLV(LOW,28)) / (HHV(HIGH,28) - LLV(LOW,28))) * 100),5,1)) - (2 * SMA(SMA((((CLOSE - LLV(LOW,27)) / (HHV(HIGH,27) - LLV(LOW,27))) * 100),5,1),3,1)));

  短期乖离率:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * 100);

  DRAWTEXT(FILTER((IF(((CROSS(趋势线,10) AND ((CLOSE / LOW) 》 1.04)) AND (短期乖离率 《 0.35)),1,0) AND (CLOSE 》 OPEN)),5),(LOW - 0.07),‘★底’),ALIGN2,colorFFFF;

  A3:=REF(CLOSE,1);

  A4:=((SMA(MAX((CLOSE - A3),0),8,1) / SMA(ABS((CLOSE - A3)),8,1)) * 100);

  DRAWICON(CROSS(21,A4),(LOW * 0.99),1);

  KS:=(((CLOSE - MA(CLOSE,13)) / MA(CLOSE,13)) * (0 - 100));

  RKS:=REF(KS,1);

  FT:=((((RKS / KS) 》= 1.23) AND (RKS 》= 8)) AND ((CLOSE / REF(CLOSE,1)) 》= 1.02));

  反弹:STICKLINE(FT,HIGH,LOW,0,1),LINETHICK2,colorFF00FF;

  STICKLINE(FT,OPEN,CLOSE,8,1),LINETHICK2,colorFF00FF;

  DRAWICON(FT,LOW,4);

  IF DATACOUNT=SYSPARAM(1) then ma5:MA(CLOSE,5),linethick4,COLORBROWN;

  IF DATACOUNT-1=SYSPARAM(1) then ma10:MA(CLOSE,10),linethick4,COLORred;

  IF DATACOUNT-2=SYSPARAM(1) then ma20:MA(CLOSE,20),linethick4,COLORblue;

  IF DATACOUNT-3=SYSPARAM(1) then ma30:MA(CLOSE,30),linethick4,COLORgreen;

  IF DATACOUNT-4=SYSPARAM(1) then ma40:MA(CLOSE,40),linethick4,COLORCYAN;

  IF DATACOUNT-5=SYSPARAM(1) then ma50:MA(CLOSE,50),linethick4,COLORBROWN;

  {股旁网-股票公式网站 www.gupang.com}

  MA1:MA(CLOSE,S),LINETHICK0,colorFFFFFF;

  MA2:MA(CLOSE,M),LINETHICK0,colorFFFF00;

  强弱分界:MA(CLOSE,27),LINETHICK0,colorFFFF;

  卖:(强弱分界 + (2 * STD(CLOSE,27))),LINETHICK0,colorFF00FF;

  DRAWTEXT(CROSS(HIGH,卖),(HIGH * 1.004),‘★’),colorFF00FF;

  DRAWICON(CROSS(HIGH,卖),(HIGH * 1.007),12);

  DRAWICON(CROSS(CLOSE,卖),(HIGH * 1.01),6);

  上限:(强弱分界 + (3 * STD(CLOSE,27))),LINETHICK0,colorFFFF;

  DRAWICON(CROSS(CLOSE,上限),(HIGH * 1.018),9);

  DRAWTEXT(CROSS(HIGH,上限),(HIGH * 1.015),‘★上’),colorFFFF;

  买:(强弱分界 - (2 * STD(CLOSE,27))),LINETHICK0,colorF0FF00;

  DRAWICON(CROSS(买,CLOSE),(LOW - 0.02),11);

  DRAWTEXT(CROSS(买,CLOSE),(LOW - 0.05),‘→观’),colorF0FF00;

  下限:(强弱分界 - (2.9 * STD(CLOSE,27))),LINETHICK0,colorFF00;

  DRAWICON(CROSS(下限,CLOSE),(LOW - 0.04),15);

  DRAWTEXT(CROSS(下限,LOW),(LOW - 0.06),‘→下观’),colorFF00;

  HH:=SYSPARAM(4);

  LL:=SYSPARAM(5);

  P1:=(LL + ((HH - LL) * 0.191));

  P16:=(LL + ((HH - LL) * 0.625));

  P2:=(LL + ((HH - LL) * 0.382));

  P17:=(LL + ((HH - LL) * 0.375));

  P4:=(LL + ((HH - LL) * 0.5));

  P18:=(LL + ((HH - LL) * 0.2));

  P5:=(LL + ((HH - LL) * 0.618));

  P19:=(LL + ((HH - LL) * 0.25));

  P6:=(LL + ((HH - LL) * 0.809));

  P20:=(LL + ((HH - LL) * 0.05));

  P7:=(LL + ((HH - LL) * 0.875));

  P21:=(LL + ((HH - LL) * 0.95));

  P8:=(LL + ((HH - LL) * 0.667));

  P22:=(LL + ((HH - LL) * 0.9));

  P9:=(LL + ((HH - LL) * 0.5));

  P23:=(LL + ((HH - LL) * 0.28));

  P10:=(LL + ((HH - LL) * 0.333));

  P24:=(LL + ((HH - LL) * 0.22));

  P11:=(LL + ((HH - LL) * 0.125));

  P25:=(LL + ((HH - LL) * 0.85));

  P12:=(LL + ((HH - LL) * 0.45));

  P26:=(LL + ((HH - LL) * 0.75));

  P13:=(LL + ((HH - LL) * 0.55));

  P27:=(LL + ((HH - LL) * 0.1));

  P14:=(LL + ((HH - LL) * 0.78));

  P28:=(LL + ((HH - LL) * 0.2));

  P15:=(LL + ((HH - LL) * 0.72));

  P29:=(LL + ((HH - LL) * 0.22));

  DRAWTEXT((ISLASTBAR = 1),P7,(‘ ▲87.5%:’ + NUMTOSTR(P7,2))),ALIGN2,color84C1FF;

  DRAWTEXT((ISLASTBAR = 1),P8,(‘ ▲66.7%:’ + NUMTOSTR(P8,2))),ALIGN2,color84C1FF;

  DRAWTEXT((ISLASTBAR = 1),P9,(‘ 50%:’ + NUMTOSTR(P9,2))),ALIGN1,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P10,(‘ ▲33.3%:’ + NUMTOSTR(P10,2))),ALIGN2,colorFFFF00;

  DRAWTEXT((ISLASTBAR = 1),P11,(‘ ▲12.5%:’ + NUMTOSTR(P11,2))),ALIGN2,colorFFFF00;

  DRAWTEXT((ISLASTBAR = 1),P12,(‘ 45%:’ + NUMTOSTR(P12,2))),ALIGN2,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P13,(‘ 55%:’ + NUMTOSTR(P13,2))),ALIGN2,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P14,(‘ 78%:’ + NUMTOSTR(P14,2))),ALIGN2,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P15,(‘ 72%:’ + NUMTOSTR(P15,2))),ALIGN2,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P16,(‘ ⊙62.5%:’ + NUMTOSTR(P16,2))),ALIGN0,colorFF00;

  DRAWTEXT((ISLASTBAR = 1),P17,(‘ ⊙37.5%:’ + NUMTOSTR(P17,2))),ALIGN0,colorFF00;

  DRAWTEXT((ISLASTBAR = 1),P18,(‘ 20%:’ + NUMTOSTR(P18,2))),ALIGN1,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P19,(‘ 25%:’ + NUMTOSTR(P19,2))),ALIGN2,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P20,(‘ 5%:’ + NUMTOSTR(P20,2))),ALIGN1,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P21,(‘ 95%:’ + NUMTOSTR(P21,2))),ALIGN2,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P22,(‘ 90%:’ + NUMTOSTR(P22,2))),ALIGN1,colorDAFC8B;

  DRAWTEXT((ISLASTBAR = 1),P23,(‘ 28%:’ + NUMTOSTR(P23,2))),ALIGN1,color84C1FF;

  DRAWTEXT((ISLASTBAR = 1),P25,(‘ 85%:’ + NUMTOSTR(P25,2))),ALIGN1,colorDAFC8B;

  DRAWTEXT((ISLASTBAR = 1),P26,(‘ 75%:’ + NUMTOSTR(P26,2))),ALIGN1,colorDAFC8B;

  DRAWTEXT((ISLASTBAR = 1),P27,(‘ 10%:’ + NUMTOSTR(P27,2))),ALIGN1,color84C1FF;

  STICKLINE(1,HH,HH,180,0),colorFF00FF;

  STICKLINE(1,LL,LL,180,0),colorFFFF00;

  DRAWTEXT((ISLASTBAR = 1),P27,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN1,LINETHICK1,color84C1FF;

  DRAWTEXT((ISLASTBAR = 1),P25,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN1,LINETHICK1,colorDAFC8B;

  DRAWTEXT((ISLASTBAR = 1),P9,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN1,LINETHICK1,colorFFFF;

  DRAWTEXT((ISLASTBAR = 1),P22,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN1,LINETHICK1,colorDAFC8B;

  DRAWTEXT((ISLASTBAR = 1),P18,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN1,LINETHICK1,colorFF00FF;

  DRAWTEXT((ISLASTBAR = 1),P20,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN1,LINETHICK1,colorFF00FF;

  DRAWTEXT((ISLASTBAR = 1),P19,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN2,LINETHICK1,colorFF00FF;

  DRAWTEXT((ISLASTBAR = 1),P12,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN2,LINETHICK1,colorFF00FF;

  DRAWTEXT((ISLASTBAR = 1),P13,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN2,LINETHICK1,colorFF00FF;

  DRAWTEXT((ISLASTBAR = 1),P14,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN2,LINETHICK1,colorFF00FF;

  DRAWTEXT((ISLASTBAR = 1),P15,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN2,LINETHICK1,colorFF00FF;

  DRAWTEXT((ISLASTBAR = 1),P21,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN2,LINETHICK1,colorFF00FF;

  DRAWTEXT((ISLASTBAR = 1),P23,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN1,LINETHICK1,color84C1FF;

  DRAWTEXT((ISLASTBAR = 1),P26,‘ ̄ ̄ ̄ ̄ ̄’),ALIGN1,LINETHICK1,colorDAFC8B;

  DRAWTEXT((ISLASTBAR = 1),P16,‘ ̄ ̄ ̄ ̄ ̄ ̄ ̄’),ALIGN0,LINETHICK1,colorFF00;

  DRAWTEXT((ISLASTBAR = 1),P17,‘ ̄ ̄ ̄ ̄ ̄ ̄ ̄’),ALIGN0,LINETHICK1,colorFF00;

  DRAWTEXT((ISLASTBAR = 1),P10,‘ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄’),ALIGN2,colorFFFF00;

  DRAWTEXT((ISLASTBAR = 1),P11,‘ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄’),ALIGN2,colorFFFF00;

  DRAWTEXT((ISLASTBAR = 1),P7,‘ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄’),ALIGN2,color84C1FF;

  DRAWTEXT((ISLASTBAR = 1),P8,‘ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄’),ALIGN2,color84C1FF;

  NNL:=(BARPOS = SYSPARAM(3));

  江05:(LL + ((HH - LL) * 0.05)),POINTDOT,LINETHICK1,colorFFFFFF;

  江10:(LL + ((HH - LL) * 0.1)),POINTDOT,LINETHICK1,colorFFFFFF;

  黄191:(LL + ((HH - LL) * 0.191)),LINETHICK1,colorFFFF;

  江22:(LL + ((HH - LL) * 0.22)),POINTDOT,LINETHICK1,colorFFFFFF;

  江25:(LL + ((HH - LL) * 0.25)),POINTDOT,LINETHICK1,colorFFFFFF;

  江28:(LL + ((HH - LL) * 0.28)),POINTDOT,LINETHICK1,colorFFFFFF;

  黄甘337:(LL + ((HH - LL) * 0.337)),POINTDOT,LINETHICK1,colorFFFFFF;

  黄382:(LL + ((HH - LL) * 0.382)),LINETHICK1,colorFFFF;

  甘45:(LL + ((HH - LL) * 0.45)),POINTDOT,LINETHICK1,colorFFFFFF;

  黄500:(LL + ((HH - LL) * 0.5)),colorFFFF;

  黄618:(LL + ((HH - LL) * 0.618)),LINETHICK1,colorFFFF;

  黄甘667:(LL + ((HH - LL) * 0.667)),POINTDOT,LINETHICK1,colorFFFFFF;

  黄甘75:(LL + ((HH - LL) * 0.75)),POINTDOT,LINETHICK1,colorFFFFFF;

  黄809:(LL + ((HH - LL) * 0.809)),LINETHICK1,colorFFFF;

  江55:(LL + ((HH - LL) * 0.55)),POINTDOT,LINETHICK1,colorFFFFFF;

  江75:(LL + ((HH - LL) * 0.75)),POINTDOT,LINETHICK1,colorFFFFFF;

  江78:(LL + ((HH - LL) * 0.78)),POINTDOT,LINETHICK1,colorFFFFFF;

  江85:(LL + ((HH - LL) * 0.85)),POINTDOT,LINETHICK1,colorFFFFFF;

  江90:(LL + ((HH - LL) * 0.9)),POINTDOT,LINETHICK1,colorFFFFFF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.1)),((‘江10%(’ + NUMTOSTR(江10,2)) + ‘)’)),color84C1FF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.22)),((‘江22%(’ + NUMTOSTR(江22,2)) + ‘)’)),color84C1FF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.28)),((‘江28%(’ + NUMTOSTR(江28,2)) + ‘)’)),color84C1FF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.191)),((‘黄金19.1%(’ + NUMTOSTR(黄191,2)) + ‘)’)),colorFFFF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.382)),((‘★黄金38.2%(’ + NUMTOSTR(黄382,2)) + ‘)’)),colorFFFF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.5)),((‘黄金强弱分界(’ + NUMTOSTR(黄500,2)) + ‘)’)),colorFFFF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.618)),((‘★黄金61.8%(’ + NUMTOSTR(黄618,2)) + ‘)’)),colorFFFF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.75)),((‘江75%(’ + NUMTOSTR(江75,2)) + ‘)’)),colorDAFC8B;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.809)),((‘黄金80.9%(’ + NUMTOSTR(黄809,2)) + ‘)’)),colorFFFF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.85)),((‘江85%(’ + NUMTOSTR(江85,2)) + ‘)’)),colorDAFC8B;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.9)),((‘江90%(’ + NUMTOSTR(江90,2)) + ‘)’)),colorDAFC8B;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.981)),((‘最高价¥(’ + NUMTOSTR(HH,2)) + ‘)’)),colorFF00FF;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL + ((HH - LL) * 0.0381)),((‘最低价¥(’ + NUMTOSTR(LL,2)) + ‘)’)),colorFFFF00;

  DRAWTEXT((SYSPARAM(2) = BARPOS),(LL * 0.998),(‘所属板块:’ + BLKNAME)),ALIGN5,colorCCFFFF;

  DRAWTEXT((SYSPARAM(3) = BARPOS),(LL + ((HH - LL) * 0.981)),‘天’),ALIGN2,SHIFT1,LINETHICK3,colorFFFF;

  DRAWTEXT((((SYSPARAM(3) - 3) = BARPOS) AND (SYSPARAM(3) 《》 SYSPARAM(1))),(LL + ((HH - LL) * 0.981)),NUMTOSTR(((SYSPARAM(3) - SYSPARAM(1)) + 1),0)),ALIGN2,SHIFT1,colorFFFF;

  上市日期年:REF(YEAR,(BARSCOUNT(CLOSE) - 1)),LINETHICK0,colorFF00;

  月:REF(MONTH,(BARSCOUNT(CLOSE) - 1)),LINETHICK0,colorFF00FF;

  日:REF(DAY,(BARSCOUNT(CLOSE) - 1)),LINETHICK0,colorFFFF;

  BB:=BARPOS=SYSPARAM(1);

  variable:wday[7]=‘星期六’;

  wday[1]:=‘星期日’;

  wday[2]:=‘星期一’;

  wday[3]:=‘星期二’;

  wday[4]:=‘星期三’;

  wday[5]:=‘星期四’;

  wday[6]:=‘星期五’;

  fy:=year;

  fm:=month;

  fd:=day;

  wd:=weekday;

  p:=sysparam(1);

  str1:=‘今天是:’+numtostr(fy[p],0)+‘年’+numtostr(fm[p],0)+‘月’

  +numtostr(fd[p],0)+‘日, ’+wday[wd[p]+1];

  explain(barpos=p,str1),colorRED;

  DRAWTEXT(barpos=p,H*1.12,str1),ALIGN2,coloryellow,;

  {短线5%止盈止损,主图,飞狐用}

  EXPLAINEX(C,‘本中:’,(l+h)/2,2,1)coloryellow;

  EXPLAINEX(c,‘+1%:’,((h+l)/2)*1.01,2,1);

  EXPLAINEX(c,‘+2%:’,((h+l)/2)*1.02,2,1);

  EXPLAINEX(c,‘+3%:’,((h+l)/2)*1.03,2,1);

  EXPLAINEX(c,‘+5%:’,((h+l)/2)*1.05,2,1);

  EXPLAINEX(c,‘+10%:’,((h+l)/2)*1.1,2,1),colorred;

  EXPLAINEX(c,‘-1%:’,((h+l)/2)*0.99,2,1);

  EXPLAINEX(c,‘-2%:’,((h+l)/2)*0.98,2,1);

  EXPLAINEX(c,‘-3%:’,((h+l)/2)*0.97,2,1);

  EXPLAINEX(c,‘-5%:’,((h+l)/2)*0.95,2,1);

  EXPLAINEX(c,‘-10%:’,((h+l)/2)*0.90,2,1),colorblue;

  DRAWNUMBER(BARSCOUNT(C)=SYSPARAM(1),(h+l)/2,(h+l)/2,2),shift1,colorYELLOW;

  drawtext(BARSCOUNT(C)=SYSPARAM(1),((h+l)/2)*1.05,‘熊股止盈5%’),Colormagenta,shift2;

  drawtext(BARSCOUNT(C)=SYSPARAM(1),((h+l)/2)*0.95,‘熊股止损5%’),ColorYELLOW,shift2,linethick5;

上一篇:网贷100官网剖析委托买卖有哪些类型,委托买卖可以怎样分类

下一篇:华菱钢铁股票阐述什么是盘中价压?盘中价压是什么意思

相关推荐

  • 一汽夏利股吧评释如何防止大陷阱?防止大陷阱有什么技巧?

    一汽夏利股吧评释如何防止大陷阱?防止大陷阱有什么技巧?

    如何防止大陷阱?防止大陷阱有什么技巧?炒股大本营小编为您提供 小技巧之一:止盈点和止损点的设置对非职业股民来说很重要,不少散户会设立止损点,但不会设立止盈点一汽夏利股吧。止损点的设立大家都知道,设定一个固定的亏损率,到达位置时严格执行。但止盈点一般散户都不会设定。为什么说止盈很重要呢?举个例子,我有个朋友,当…
    2020-12-29 阅读(59)
  • 中华财经网介绍什么样的个股一定要警惕?

    中华财经网介绍什么样的个股一定要警惕?

    炒股大本营的小编为您分析什么样的个股一定要警惕呢? 有时侯股价会出现这样的走势:无量平开盘,开盘以后一路上涨,这种走势可以称为“一开就冲”中华财经网。无量而且平开盘,至少说明大盘比较平静而且个股也没有基本面方面的变化。因此在正常情况下股价应该是跟随大盘波动,但随后的一路上冲违背了这一规律,显然,盘中…
    2020-12-29 阅读(58)
  • 财经头条行情谈论“奶牛股”指的是什么?“奶牛股”怎么看?

    财经头条行情谈论“奶牛股”指的是什么?“奶牛股”怎么看?

    “奶牛股”指的是什么?“奶牛股”怎么看?炒股大本营小编为您提供 由于工作上的关系,笔者认识一些股市投资中的民间高手财经头条行情。可别小看这些民间高手,虽然他们在金融理论方面明显不如那些市场专业人士,但他们都是在股市中“真刀真枪”地博取收益,人人都有一两手“绝活”。今天通…
    2020-12-29 阅读(57)
  • 论股网股票行情总结股市操作的误区是什么,怎样走出股市操作的误区

    论股网股票行情总结股市操作的误区是什么,怎样走出股市操作的误区

    股市操作的误区是什么,怎样走出股市操作的误区 在股市实战操作中,技术分析的重要性越来越有所体现,但在运用技术分析指导自己的操作时,必须注意遵循合理性的原则论股网股票行情。 一、技术分析只是一种工具,在技术分析的过程中,由于受到各种主客观因素的影响,往往会产生偏差,因此要在确定趋势的前提下运用技术分析,而不要受到…
    2020-12-29 阅读(49)
  • 东旭光电股吧关于“一人一手”制是什么意思?什么是“一人一手”制?

    东旭光电股吧关于“一人一手”制是什么意思?什么是“一人一手”制?

    什么是“一人一手”制?“一人一手”制的概念?“一人一手”制是什么意思? 在英、美、中国香港等成熟资本市扯?窆獾绻砂伞,新股发行都首先保证中小散户申购。比如中国香港市场在新股发行上就采用了“一人一手”制。发行人为了照顾中小散户,不论其资金多少,保证每一有效申购账户都获得一定…
    2020-12-29 阅读(49)
  • 股票论坛网剖析融资融券交易有何相关风险

    股票论坛网剖析融资融券交易有何相关风险

    融资融券交易的相关风险有哪些?融资融券交易的相关风险是什么?下面炒股大本营为您介绍融资融券交易的相关风险股票论坛网。 融资融券交易相关风险介绍 除具有普通交易具有的市场风险外,融资融券交易还蕴含其特有的杠杆交易风险、强制平仓风险、监管风险,以及信用、法律等其他风险。投资者在进行融资融券交易前,必须对相关风险有清…
    2020-12-29 阅读(57)