參數(shù) 最小 最大 缺省值 N 10 9999 30 M 10 9999 900 AAA:=MAX(DYNAINFO(3),DYNAINFO(5)); BBB:=MIN(DYNAINFO(3),DYNAINFO(6)); CCC:=AAA-BBB; 中軌:(AAA+BBB)/2,COLOR999900; DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*500/EMA(CLOSE,26); DEAA:=EMA(DIFF,9);MACD:=(DIFF-DEAA)/4; 阻力:BBB+CCC*7/8,COLOR00DD00; 支撐:BBB+CCC*1/8,COLOR00DD00; 上頂:=BBB+CCC*2/3,COLOR999900; 下底:=BBB+CCC/3,COLOR999900; 價:=C,COLOR00FFFF; MA30:=EMA(CLOSE,N); 強弱:=EMA(CLOSE,M); STICKLINE((MA30>強弱),MA30,強弱,1,0),COLOR0000FF; STICKLINE((MA30<強弱),MA30,強弱,1,0),COLOR00FF00; H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 現(xiàn)價:CLOSE,COLORWHITE,LINETHICK1; STICKLINE(CROSS(支撐,現(xiàn)價),支撐,阻力,1,0),COLORYELLOW; DRAWTEXT(LONGCROSS(支撐,現(xiàn)價,2),支撐*1.001,'★吸'),COLORYELLOW;{吸} DRAWTEXT(LONGCROSS(現(xiàn)價,阻力,2),現(xiàn)價,'★拋'),COLORCYAN;{拋}; AI:=IF(TIME=93400,C,DRAWNULL); AC:=BARSLAST(TIME=93400); {撐①:REF(AI/(1+0.02),AC),COLORMAGENTA,NODRAW; 撐②:REF(AI/(1+0.03),AC),COLORYELLOW,NODRAW; 撐③:REF(AI/(1+0.04),AC),COLORFF00FF,NODRAW; 撐④:REF(AI/(1+0.06),AC),COLORGREEN,NODRAW; 阻①:REF(AI*(1+0.02),AC),COLORBBBBBB,NODRAW; 阻②:REF(AI*(1+0.03),AC),COLORBLUE,NODRAW; 阻③:REF(AI*(1+0.04),AC),COLORWHITE,NODRAW; 阻④:REF(AI*(1+0.06),AC),COLORYELLOW,NODRAW;}; |
|
來自: 鬼舞十七 > 《技術(shù)指標》