应该十分的简单我不会编程所以求助广大网友
这是kt交易师的FmlEditor编辑器所写的
图中蓝色实心线是由黄色虚线计算出来的,我的需求就是按照黄色虚线计算出蓝色实线的逻辑计算出红色虚线,当然下图中已经有了这是别人的图。我把源代码,解释和dll也放上来
#MAINCHART
#Desc "LF MMD"
// --- 笔段
kx:="chanlun@kxian";
bi:="chanlun@bi";
duan:="chanlun@duan";
bilast:"chanlun@bilast", linethick0, coloryellow;
duanlast:"chanlun@duanlast", linethick0, coloryellow;
bifx:=-REF(bi,bilast);
duanfx:=-REF(duan,duanlast);
// --- 走势类型
zslx:="chanlun@zslx"(duan);
zslxfx:="chanlun@zslxfx";
// --- BuySell System
// buy point
b_bi:="chanlun@b_bi";
b_duan:="chanlun@b_duan";
b_1buy:="chanlun@b_1b";
b_2buy:="chanlun@b_2b";
b_3buy:="chanlun@b_3b";
b_panzhen:="chanlun@b_pz";
b_lqs:="chanlun@b_lqs";
b_l3b:="chanlun@b_l3b";
// sell point
bi_sell:="chanlun@s_bi";
s_duan:="chanlun@s_duan";
s_lqs:="chanlun@s_lqs";
drawline(bi=1,h,bi=-1,l,0),COLORFF8000,linethick1;
drawline(bi=-1,l,bi=1,h,0),COLORFF8000,linethick1;
drawline(duan=1,h,duan=-1,l,0),COLOR0000FF,linethick1;
drawline(duan=-1,l,duan=1,h,0),COLOR0000FF,linethick1;
{BuySell System}
|