[通达信] 龙虎量趋势指标公式
N1:=50;
N2:=50;
N3:=50;
N4:=50;
大单买入:IF(CURRBARSCOUNT=1,V*N1/100,DRAWNULL),COLORRED;
大单卖出:IF(CURRBARSCOUNT=1,V*N2/100,DRAWNULL),COLORGREEN;
小单买:IF(CURRBARSCOUNT=1,V*N3/100,DRAWNULL),COLORMAGENTA;
小单卖:IF(CURRBARSCOUNT=1,V*N4/100,DRAWNULL),COLORCYAN;
大单买入1:IF(CURRBARSCOUNT=2,V*19/100,DRAWNULL);
大单卖出1:IF(CURRBARSCOUNT=2,V*8/100,DRAWNULL);
小单买1:IF(CURRBARSCOUNT=2,V*31/100,DRAWNULL);
小单卖1:IF(CURRBARSCOUNT=2,V*40/100,DRAWNULL);
大单买入2:IF(CURRBARSCOUNT=3,V*8/100,DRAWNULL);
大单卖出2:IF(CURRBARSCOUNT=3,V*6/100,DRAWNULL);
小单买2:IF(CURRBARSCOUNT=3,V*40/100,DRAWNULL);
小单卖2:IF(CURRBARSCOUNT=3,V*46/100,DRAWNULL);
STICKLINE(1,大单买入,1000,3,0),COLORRED;
STICKLINE(1,大单卖出,1000,2.2,1),COLORGREEN;
STICKLINE(1,小单买,大单买入,3,1),COLORMAGENTA;
STICKLINE(1,小单卖,大单买入,2.2,1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=2,大单买入1,1000,3,0),COLORRED;
STICKLINE(CURRBARSCOUNT=2,大单卖出1,1000,2.2,1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=2,小单买1,大单买入1,3,1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=2,小单卖1,大单买入1,2.2,1),COLORCYAN;
STICKLINE(CURRBARSCOUNT=3,大单买入2,1000,3,0),COLORRED;
STICKLINE(CURRBARSCOUNT=3,大单卖出2,1000,2.2,1),COLORGREEN;
STICKLINE(CURRBARSCOUNT=3,小单买2,大单买入2,3,1),COLORMAGENTA;
STICKLINE(CURRBARSCOUNT=3,小单卖2,大单买入2,2.2,1),COLORCYAN;
{6/16=18,17,29,34;
6/15=19,8,31,40;
6/14=8,6,40,46};
{:soso_e179:}缘即如风,来也是缘,去也是缘。已得是缘,未得亦是缘。{:soso_e152:} {:soso_e100:}{:soso_e100:}{:soso_e160:} 谢谢老师 努力学习 谢谢分享,晚上好...... 谢谢老师 努力学习 谢谢楼主分享,顶起 谢谢老师 努力学习 O(∩_∩)O哈哈~ 龙虎量趋势 谢谢分享投资愉快 谢谢老师的分享 谢谢分享! 感谢楼主精彩分享、学习学习。 感谢楼主无私分享 感谢楼主无私分享
页:
[1]
2