加上这两句,值自己再调调,编译完后要先把原来的指标窗口取消。
#property indicator_minimum -100 #property indicator_maximum 100
trad:你好。谢谢你的热心回复。已经在mt4上解决。再次谢谢的指导。
奇怪,我这儿都弄好了才回复的呀,怎么回事?
你编译完以后,把界面上原来的指标窗口都清除了吗?
int init() { IndicatorBuffers(5); SetIndexStyle(0,DRAW_LINE); SetIndexBuffer(0,KSTDM); SetIndexStyle(1,DRAW_LINE); SetIndexBuffer(1,KSTMM); SetIndexBuffer(2,KSTD); SetIndexBuffer(3,KSTM); SetIndexBuffer(4,KSTC); SetIndexStyle(2,DRAW_LINE); SetIndexStyle(3,DRAW_LINE); SetIndexStyle(4,DRAW_LINE); IndicatorShortName("ZBZB"); return(0); }
已经在mt4上解决,谢谢大家。
已经在mt4中得到解决。谢谢大家,同时谢谢楼下的朋友。