懒人炒股指标源码买线卖线(股票懒人线)
本文目录一览:
短线高手主力版“买卖趋势”指标公式源码
非常准的趋势买卖(图片演示在下面网址里)
VAR1:=(C+H+O+L)/4;
卖出:XMA(VAR1,N)*(1+P1/1000),COLORGREEN,LINETHICK2;
买入:XMA(VAR1,M)*(1-P2/1000),COLORMAGENTA,LINETHICK2;
幅度:100*(卖出-买入)/买入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(卖出LOW AND 卖出HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLORGREEN;
STICKLINE(卖出MIN(C,O) AND 卖出MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLORGREEN;
STICKLINE(卖出LOW AND 卖出HIGH,卖出,HIGH,0,0),COLORGREEN;
STICKLINE(卖出LOW,OPEN,CLOSE,3,0),COLORGREEN;
STICKLINE(卖出LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(买入LOW AND 买入HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),3,0),COLORMAGENTA;
STICKLINE(买入MIN(C,O) AND 买入MAX(C,O),买入,MIN(OPEN,CLOSE),3,0),COLORMAGENTA;
STICKLINE(买入LOW AND 买入HIGH,买入,LOW,0,0),COLORMAGENTA;
STICKLINE(买入HIGH,OPEN,CLOSE,3,0),COLORMAGENTA;
STICKLINE(买入HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWTEXT(CROSS(LOW,买入),LOW*0.95,'B'),COLORRED,LINETHICK2;
DRAWTEXT(CROSS(卖出,HIGH),HIGH*1.02,'S'),COLORGREEN;
绿上卖,红下买。
求股票好用的有买卖提示的技术指标源码
{这是懒人炒股指标源码买线卖线我用懒人炒股指标源码买线卖线的同花顺‘粉进黄出’主图指标,不知是不是楼主想要的懒人炒股指标源码买线卖线?}
日均线5: MA(CLOSE,5),COLOR00FFFF;
日均线10: MA(CLOSE,10),COLORFF00FF;
BOLL中线: MA(CLOSE,20),COLORFF0000;
BOLL顶线: BOLL中线+2*STD(CLOSE,26),COLORFFFF10;
BOLL底线: BOLL中线-2*STD(CLOSE,26),COLORFFCC66;
MA6:= MA(CLOSE,6);
MA18:= MA(CLOSE,18);
MA30:= MA(CLOSE,30);
MA60:= MA(CLOSE,60);
AAF:= LLV(LOW,34);
BBF:= MA(AAF,4);
LC:= REF(CLOSE,1);
RSI:= SMA(MAX(CLOSE-LC,0),4.1,1)/SMA(ABS(CLOSE-LC),4.1,1)*100;
DRAWICON(CROSS(84,RSI),HIGH*1.03,5),COLOR0000FF;
DRAWICON(CROSS(RSI,11),LOW*0.99,4),COLOR008000;
VAR27:= REF(CLOSE,1);
VAR28:= SMA(MAX(CLOSE-VAR27,0),5.5,1)/SMA(ABS(CLOSE-VAR27),6,1)*100;
DRAWICON(IF(CROSS(76,VAR28),1,0),HIGH*1.03,5),COLORFF0000;
DRAWTEXT(FILTER(EMA(CLOSE,60)-EMA(CLOSE,12)0 AND EMA(CLOSE,12)/LOW1.15,5),LOW,'☆'),COLORFF00FF;
VARA:= AMOUNT/VOL/100;
VARB:= (3*HIGH+LOW+OPEN+2*CLOSE)/7;
VARC:= SUM(AMOUNT,7)/VARA/100;
VARD:= DMA(VARB,VOL/VARC);
VARE:= (CLOSE-VARD)/VARD*100;
VARF:= (CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VARJ:= MA(VARE,20)+STD(VARE,20);
BIAS18:= (CLOSE-MA(CLOSE,18))/MA(CLOSE,18)*100;
AA:= SMA(VARF,3,1);
SS:= REF(BIAS18,1)=5 AND CROSS(VARJ,VARE) AND AA79;
DRAWTEXT(REF(BIAS18,1)=5 AND CROSS(VARJ,VARE) AND AASS,HIGH*1.02,'☆'),COLOR008000;
VAR1:= ZIG(3,10)REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)REF(ZIG(3,10),2);
VAR2:= ZIG(3,10)REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)REF(ZIG(3,10),2);
STICKLINE(VAR1,CLOSE,OPEN,8,0),COLOR00FFFF;
STICKLINE(VAR1,CLOSE,OPEN,3,0),COLOR00FFFF;
STICKLINE(VAR1,HIGH,LOW,1,0),COLOR00FFFF;
STICKLINE(VAR2,CLOSE,OPEN,8,0),COLORFF00FF;
STICKLINE(VAR2,CLOSE,OPEN,3,0),COLORFF00FF;
STICKLINE(VAR2,HIGH,LOW,1,0),COLORFF00FF;
VAR2,LINETHICK0,COLOR0000FF;
引用的,其实懒人炒股指标源码买线卖线我也在用同花顺,不过技术没你这么高懒人炒股指标源码买线卖线了。还要用到指标源码了,是工具里面的?
求通达信分时“买卖力道”源码
通达信分时买卖力道指标公式股票软件源码如下:
A1:=(VOL/CLOSE)/3;
A2:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);
A3:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);
A4:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);
A5:=SUM((IF(((A10.29) AND (CLOSE(REF(CLOSE,1)))),A1,0)),0);
A6:=((A2+A3)+A4)+A5;
A7:=IF((ISLASTBAR=1),((100*A2)/A6),0);
A8:=((IF((ISLASTBAR=1),((100*A3)/A6),0)));
A9:=((IF((ISLASTBAR=1),((100*A4)/A6),0)));
A10:=((IF((ISLASTBAR=1),((100*A5)/A6),0)));
机构买盘:(A2),LINETHICK0;
机构卖盘:(A3),LINETHICK0;
散户买盘:(A4),LINETHICK0;
散户卖盘:(A5),LINETHICK0;
STICKLINE(机构买盘0 AND 机构买盘=机构卖盘 AND 机构买盘=REF(机构买盘,1),20,20+100,1,0),COLORRED;
STICKLINE(机构卖盘0 AND 机构卖盘=机构买盘 AND 机构卖盘=REF(机构卖盘,1),20,20+100,1,0),COLORWHITE;
STICKLINE(散户买盘0 AND 散户买盘=散户卖盘 AND 散户买盘=REF(散户买盘,1),-20,-20-100,1,0),COLORLIMAGENTA;
STICKLINE(散户卖盘0 AND 散户卖盘=散户买盘 AND 散户卖盘=REF(散户卖盘,1),-20,-20-100,1,0),COLORCYAN;
VAR2:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;
买卖力道: SMA(VAR2,3,1),COLORLIGRAY;
VAR3:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
VAR4:=(IF(CLOSEOPEN,VAR3*(HIGH-LOW),IF(CLOSEOPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSEOPEN,0-VAR3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSEOPEN,0-VAR3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSEOPEN,VAR3*(HIGH-LOW),IF(CLOSEOPEN,VAR3*(HIGH-OPEN+CLOSE-LOW),VOL/2)));
VAR5:=AMOUNT/(100*VOL);
VAR6:=MA(VAR5,40);
VAR7:=100*(CLOSE-VAR6)/VAR6;
底部追击:= IF(VAR40 AND VAR7-12 AND CLOSE/OPEN1.08,300,200),COLORGREEN;
STICKLINE(VAR40 AND VAR7-12 AND CLOSE/OPEN1.08,1200,200,10,0) , COLORGREEN;
VAR8:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
VAR9:=SMA(VAR8,3,1);
VARA:=SMA(VAR9,3,1);
D: SMA(VARA,5,1)*20, COLORCYAN;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:= EMA(V11,3);
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
BB:(趋势线=13 AND V1213) AND FILTER((趋势线=13 AND V1213),10);
买入股票:= (趋势线=13 AND V1213),COLORRED;
CCC:=(趋势线=90 AND V12) AND FILTER((趋势线=90 AND V12),10);
清仓:=FILTER(趋势线=90 AND V12 AND CROSS(D,买卖力道),5),COLORYELLOW;
卖出区: 清仓+1800,COLORYELLOW;
中:(0+卖出区)/2, COLORGREEN;
{股旁网-股票公式网站 }
STICKLINE(买卖力道=中 AND 买卖力道=REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORMAGENTA;
STICKLINE(买卖力道=中 AND 买卖力道 REF(买卖力道,1),中,买卖力道+中/10,0,0),COLORBROWN;
STICKLINE(买卖力道中 AND 买卖力道=REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORGREEN;
STICKLINE(买卖力道中 AND 买卖力道 REF(买卖力道,1),中,买卖力道-中/10,0,0),COLORBLUE;
DRAWICON(买入股票,中,15);
DRAWTEXT (BB,0,'买股'),COLORYELLOW;
DRAWTEXT(清仓,买卖力道,'顶'),COLORYELLOW;
STICKLINE(清仓,买卖力道,买卖力道+0.01,2,0),COLORBLUE;
DRAWICON(CROSS(D,中),中,13);
DRAWICON(CROSS(中,买卖力道),买卖力道,2);
DIF:=(EMA(CLOSE,13) - EMA(CLOSE,24));
DEA:=(EMA(DIF,6));
MACD:=(DIF-DEA)*3;
红线:=IF(MACD=0 AND MACDREF(MACD,1),中,DRAWNULL);
青线:=IF(MACD=0 AND MACD REF(MACD,1),中,DRAWNULL);
粉线:=IF(MACD0 AND MACD=REF(MACD,1),中,DRAWNULL);
蓝线:=IF(MACD0 AND MACD REF(MACD,1),中,DRAWNULL);
STICKLINE(红线,200,250,1,0),COLORRED,LINETHICK1;
STICKLINE(青线,200,250,1,0),COLORCYAN,LINETHICK1;
STICKLINE(粉线,200,250,1,0),COLORMAGENTA,LINETHICK1;
STICKLINE(蓝线,200,250,1,0),COLORBLUE,LINETHICK1;
DRAWICON(CROSS((A2),(A3)),200,23);