通达信最准画线指标出现大阳线如何用公式自动画线?

求通达信收盘价向左自动划线公式要求公式能够在通达信软件的主图界面上,显示以当日收盘价为基准向左自动延伸的一条直线。全部好评回答
2019-03-28 11:51:37
公式非常简单:
SPJ:C
--------------
明白了
楼主需要的线,其实根本就不用另编公式,只要把键盘上的右方向键点一下,K线图上就会出现两条横竖交叉的十字线,横线就是当天的收盘价线。把竖线移动到过去任何一天,横线就是那天的收盘价。点一下ESC键,十字线就消失了,比用任何公式都方便,何必另编公式?
全部
2019-10-16 11:04:46
CONST(HHV(C,1)),DOTLINE,COLORRED;
全部
2019-03-28 11:38:55
软件本身就有画线功能
全部
2019-03-28 11:34:16
我知道一个
全部
');
(window.slotbydup=window.slotbydup
[]).push({
id: '3418626',
container: s,
size: '680,250',
display: 'inlay-fix'
});
})();
}
}
1、通达信自动画趋势线指标公式参数: n 5a1:=ref(h,n)=hhv(h,2*n+1);b1:=filter(a1,n); c1:=backset(b1,n+1);d1:=filter(c1,n); 高点 a2:=ref(l,n)=llv(l,2*n+1);b2:=filter(a2,n);c2:=backset(b2,n+1);d2:=filter(c2,n); 低 点e1:=(ref(llv(l,2*n),1)+ref(hhv(h,2*n),1)/2;e2:=(h+l)/2; 高低点出现在同一k 线上时可作取舍h1:=(d1 and not(d2 and e1&gt尸e2) or is2、lastbar or barscount(c)=1;l1:=(d2 and not(d1 and e1<e2);h2:=d1 and not(d2 ande1>=e2);x1:=ref(barslast(h1),1)+1;f1:=backset(h1 andcount(l1,x1)>0,llvbars(if(l1,l,10000),x1);g1:=f1 >ref(f1,1); i1:=backset(g1,2);ld:=i1>ref(i1,1); 过滤后低点 l2:=ld or islastbar or barscount(c)=1;x2:=ref(barslas3、t(l2),1)+1;f2:=backset(l2 andcount(h2,x2)>0,hhvbars(if(h2,h,0),x2);g2:=f2&g t;ref(f2,1); i2:=backset(g2,2); hd:=i2>ref(i2,1); 过 滤后高点 r1:=backset(islastbar,barslast(hd)+1);s1:=r1>ref(r1,1); 前一高t1:=backset(islastbar,barslast(ld)+1);u1:=t1>ref(t1,1); 前一彳氐r2:=backset(s1,ref(barslast(hd),1)+24、);s2:=r2>ref(r2,1); 前二高t2:=backset(u1,ref(barslast(ld),1)+2);u2:=t2>ref(t2,1); 前二低t3:=backset(u2,ref(barslast(ld),1)+2);u3:=t3>ref(t3,1); 前三彳氐t4:=backset(u3,ref(barslast(ld),1)+2);u4:=t4>ref(t4,1); 前四彳氐r3:=backset(s2,ref(barslast(hd),1)+2);s3:=r3>ref(r3,1); 前三高r4:=backset(s3,ref(barsl5、ast(hd),1)+2);s4:=r4>ref(r4,1); 前四高 短期压力:drawline(s2,h,s1,h,1),colorred; 短期支撑:drawline(u2,l,u1,l,1),colorgreen; 中期压力:drawline(s3,h,s2,h,1),coloryellow;中期支撑 :drawline(u3,l,u2,l,0),colorgreen; 长期压力:drawline(s4,h,s3,h,1),colorff00ff;长期支撑 :drawline(u4,l,u3,l,0),colorgreen;drawicon(s1,h*1.01,6);drawicon(s2,h*1.01,6);drawicon(s3,h*1.01,6);drawicon(s4,h*1.01,6);drawico

我要回帖

更多关于 通达信最准画线指标 的文章

 

随机推荐