標籤:

通達信A看銀金山谷主圖指標公式

通達信A看銀金山谷主圖指標公式

五:MA(C,5),COLORWHITE;十:MA(C,10),COLORYELLOW;三十:MA(C,30),COLORGREEN;M120:MA(C,120),LINETHICK2,COLORLIGRAY;山谷:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,30) AND CROSS(MA(C,10),MA(C,30));DRAWTEXT(山谷 AND MA(C,5)<MA(C,120),MA(C,30)-0.08,"銀山谷"),COLORMAGENTA;DRAWTEXT(山谷 AND MA(C,30)>MA(C,120),MA(C,30)-0.08,"金山谷"),COLORYELLOW;{漲停做記號}CM:=REF(C,1);漲停:=IF((C-CM)*100/CM>=9.9,1,0);STICKLINE(漲停,OPEN,CLOSE,3.8,0),COLORMAGENTA; {K線實體部分畫洋紅色,寬度為2,畫實線實心柱}STICKLINE(漲停,H,L,0,0),COLORLIRED; {K線影線部分畫紫紅色,寬度為0?,畫實線實心柱};{跌停做記號}跌停:=IF((C-CM)*100/CM<=-9.9,1,0);STICKLINE(跌停,OPEN,CLOSE,3.8,0),COLORGREEN; {K線實體部分畫綠色,寬度為2,畫實線實心柱}STICKLINE(跌停,H,L,0,0),COLORGREEN;{K線影線部分畫綠色,寬度為0?,畫實線實心柱};{黑馬起飛點}實在1:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20)AND O<MA(C,10) AND C>MA(C,5) AND C<30AND V<MA(V,60);DRAWTEXT(實在1,MA(C,20)*0.95,"一陽穿雙"),COLORCYAN;DRAWTEXT(實在1,MA(C,20)*0.9,"無量黑馬等止跌"),COLORCYAN;STICKLINE(實在1,MA(C,20)*0.9,MA(C,20)*0.95,0.01,0),COLORCYAN;實在2:=MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20)AND O<MA(C,10) AND C>MA(C,5) AND C<30AND V>MA(V,60)AND COUNT(V>MA(V,60),2)=1;DRAWTEXT(實在2,MA(C,20)*0.95,"一陽穿雙"),COLORWHITE;DRAWTEXT(實在2,MA(C,20)*0.9,"有量黑馬起飛"),COLORWHITE;STICKLINE(實在2,MA(C,20)*0.9,MA(C,20)*0.95,0.01,0),COLORWHITE;


推薦閱讀:

離還是不離?六大指標來判斷
什麼是關鍵績效指標?
餐後血糖控制難?1 個指標告訴你怎麼吃
【指標量化】動量指標——CMO錢德動量擺動指標
★★★★★紅馬甲指標

TAG:公式 | 指標 |