注意黄色的坑
{钱龙风警线}
STICKLINE(C 0,90,95,10,0),COLOR408000;
STICKLINE(C 0,10,5,10,0),COLOR408000;
HDY:=EMA(100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(L,34)),3);
DRAWBAND(HDY,RGB(255,0,0),10,RGB(255,0,0));
STICKLINE(C 0,90,10,1.5,0),COLORBLACK;
风了险值:HDY,COLORCYAN,LINETHICK1;
警示线:45,COLORMAGENTA,LINETHICK1,POINTDOT;
刚刚一个网友,说,把同花顺中的钱龙风警线,转换为通达信的,红色的柱体不见了,怎么搞,
这个源码,原来并非是主图,是填充区域,给分割,变成柱体的样子,源码修改如上,
同花顺的原来的源码是:
STICKLINE(C 0,90,95,10,0),COLOR408000;
STICKLINE(C 0,10,5,10,0),COLOR408000;
HDY:=EMA (100*(C-LLV(LOW,34))/(HHV(H,34)-LLV(LOW,34)),3);
DRAWBAND(HDY,RGB(255,000,139),10,RGB(255,255,71));
STICKLINE(C 0,90,10,10,0),COLOR000000;
风险值:HDY,colorcyan,LINETHICK1;
警示线:45,colormagenta,LINETHICK1,POINTDOT;