名称:龙虎量趋势
如果你的股票被套又想解套,可以用这个指标观察它的发展趋势,不同的股票需采集不同的数据。
当天的数据可以调节参数,以前的数据每天往后推;
{www.9m8.cn}n1=1 100 50; n2=1 100 50 n3=1 100 50 n4 1 100 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;
{www.9m8.cn}6/16=18,17,29,34;
6/15=19,8,31,40;
6/14=8,6,40,46};