当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:《山寨版分时止赢止损主图》公式
软件名称:[B]《山寨版分时止赢止损主图》公式[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:4.00 KB
官方主页:Home Page
更新时间:2013-01-15 03:29:52
软件简介:
通达信公式编辑器4.17版本以上适用 引用指标 : ZS:DYNAINFO(3); XJ:DYNAINFO(7); 下面是公式: 横盘:=((HHV(CLOSE,BARSCOUNT(CLOSE))-LLV(CLOSE,BARSCOUNT(CLOSE)))/CLOSE)<1; MA30:=EMA(CLOSE,30); 强弱:EMA(CLOSE,900); STICKLINE((MA30>强弱),MA30,强弱,1,0),COLOR0000FF; STICKLINE((MA30<强弱),MA30,强弱,1,0),COLOR00FF00; DRAWICON(CROSS(MA30,强弱),H,7); H1:=MAX(DYNAINFO(3),DYNAINFO(5)); L1:=MIN(DYNAINFO(3),DYNAINFO(6)); P1:=H1-L1; 阻力:L1+P1*7/8,COLOR00DD00; 支撑:L1+P1*0.5/8,COLOR00DD00; CC:CLOSE,COLORWHITE,LINETHICK2; XJ:=IF(PERIOD=0 ,"FSYY.XJ#DAY",DRAWNULL),NODRAW; ZS:=IF(PERIOD=0 ,"FSYY.ZS#DAY",DRAWNULL),NODRAW; 今阻①:=ZS*(1+0.191*0.1); 今撑③:=ZS*(1-0.191*0.1); 明阻②:=XJ*(1+0.191*0.1); 明撑④:=XJ*(1-0.191*0.1); DRAWTEXT_FIX(1,0.1,0,0,STRCAT('今日阻力①',CON2STR(阻力,2))),COLOR00FF00; DRAWTEXT_FIX(1,0.1,1-0.9,0,STRCAT('今日支撑③',CON2STR(支撑,2))),COLOR00FFFF; DRAWTEXT_FIX(1,0.1,1-0.95,0,STRCAT('明日阻力②',CON2STR(明阻②,2))),COLORFFFF00; DRAWTEXT_FIX(1,0.1,1-0.85,0,STRCAT('明日支撑④',CON2STR(明撑④,2))),COLORFF00FF; 现价:CLOSE,COLORWHITE,LINETHICK1; DRAWTEXT(LONGCROSS(支撑,现价,2),支撑*1.001,'★吸'),COLORYELLOW;{吸}; DRAWTEXT(LONGCROSS(现价,阻力,2),现价,'★S抛'),COLORGREEN;{抛}; 价:C,COLOR00FFFF; 均价:SUM(V*C,0)/SUM(V,0),COLORYELLOW; {T+1止赢、止损} 止赢:H1,COLORRED,LINETHICK6; DRAWTEXT(ISLASTBAR,H1,'当日止赢价位'),COLORRED,LINETHICK6; 止损:阻力,COLORBLUE,LINETHICK6; DRAWTEXT(ISLASTBAR,阻力,'高位止损价位'),COLORBLUE,LINETHICK6; 最后止损:支撑,COLORGREEN,LINETHICK6; DRAWTEXT(ISLASTBAR,支撑,'低位止损价位'),COLORGREEN,LINETHICK6; UR:=10;LR:=10; GJ:C,COLORWHITE; JJ:SUM(C*V,FROMOPEN)/SUM(V,FROMOPEN),COLORYELLOW,LINETHICK1.5; 均量:=MA(V,5); 量连增:=均量>REF(均量,1) AND REF(均量,1)>REF(均量,2); 价连涨:=C>=REF(C,1) AND REF(C,1)>REF(C,2); 价量线上:=C>JJ AND V>均量; 倍量:=V>=REF(V,1)*2 ; 价新高:=C>=HHV(C,FROMOPEN); 量新高:=V>=HHV(V,FROMOPEN); 限幅:=C/DYNAINFO(3)<=1.02; 起爆:=FILTER(量连增 AND 价连涨 AND 价量线上 AND 倍量 AND 价新高 AND 量新高 AND 限幅,20); DRAWTEXT(起爆,C,'起爆'),COLOR00FFFF; DRAWICON(起爆,C,1); STICKLINE(起爆,C,JJ,1,0),COLOR1000FF; VV:=BARSSINCE(起爆); 起爆价:=REF(C,VV); 起爆时间:=REF(TIME/10000,VV); 收益:=(DYNAINFO(7)-起爆价)/起爆价*100; DRAWICON(VV>=2,起爆价,13); DRAWTEXT_FIX(2,0,1,0,'起爆时间:'),COLOR00FFFF; DRAWNUMBER_FIX(2,0.06,1,0,CONST(起爆时间)),COLOR00FFFF; DRAWTEXT_FIX(2,0.12,1,0,'起爆价:'),COLOR00FFFF; DRAWNUMBER_FIX(2,0.17,1,0,CONST(起爆价)),COLOR00FFFF; DRAWTEXT_FIX(2,0.24,1,0,'收益:'),COLOR00FFFF; DRAWNUMBER_FIX(2,0.28.06,1,0,CONST(收益)),COLOR00FFFF; DRAWTEXT_FIX(ISLASTBAR,0.35,1,0,'提示:如加上20日均线上行+日线新高+日线量起爆+日线予测换手率小于10则胜算更大'),COLORFFFF00; Z1:=STRCAT(HYBLOCK,' '); Z2:=STRCAT(Z1,FGBLOCK); Z3:=STRCAT(Z2,DYBLOCK); Z4:=STRCAT(Z3,' '); DRAWTEXT_FIX(ISLASTBAR,0.03,0.99,0,STRCAT(Z4,GNBLOCK)),COLORCYAN;
[url=http://www.70822.com/soft/sort013/sort05/down-57355.html]《山寨版分时止赢止损主图》公式[/url]