N:=34;{60,90,120随便可以调整一下看看效果}MA(C,2);持股天数:=BARSLAST(l=llv(l,N));E:=(HHV(MA(C,3),持股天数));买入价:ref(C,持股天数),LINETHICK0;止损价:IF(C买入价,买入价*0.95,(HHV(E,持股天数)-买入价)*0.85+买入价),LINETHICK0;PARTLINE(持股天数1,止损价),CO...
万变不离其宗--股票投资,智者必发!...
NR:LDAY,LINETHICK;JD:=CROSS(NR,15);JS:=COUNT(JD,0);YS:=MOD(JS,4);VERTLINE(JD AND YS=0),COLORFF00;VERTLINE(JD AND YS=1),COLORFF;VERTLINE(JD AND YS=2),COLORFFFF;VERTLINE(JD AND YS=3),COLORFFFFFF; DELTA理论网上找的大家共享 delta理论应用 我首先看的亚当...
OBV:SUM(IF(CLOSEREF(CLOSE,1),VOL,IF(CLOSEREF(CLOSE,1),-VOL,0)),0)/1000000;A1:=REF(obv,2)=HHV(obv,2*2+1); B1:=FILTER(A1,2); C1:=BACKSET(B1,2+1); D1:=FILTER(C1,2);{高}A2:=REF(obv,2)=LLV(obv,2*2+1); B2:=FILTER(A2,2); C2:=BACKSET(B2,2+1); D2:=FILTER(C2,...
波浪趋势精品划线...
INPUT:N(5,1,100);fc:=c;fo:=o;cc:0*c,PRECISION4,LINETHICK0;oo:0*c,PRECISION4,LINETHICK0;t1:=0*c;t2:=0*c;for i=1 to datacount do begin if i=1 and fc[i]fo[i] then cc[i]:=fc[i]; oo[i]:=fc[i]; if i=1 and fc[i]fo[i] then cc[i]:=fc[i]; oo[i]:=fc[i]; if i1...
{最牛的抄底} A:=(H+L+C)/3; B:=(A-MA(A,14))/(0.015*AVEDEV(A,14)); 上线:=SMA(C,6.5,1); 下线:=SMA(C,13.5,1); CROSS(B,-150) AND 上线下线;...
lj:=AMOUNT/(V*100);AA:=(WMA(lj,34)*0.618+(WMA(lj,55)+WMA(lj,89))/2+WMA(lj,144)*0.382)/2;黄金线:(REF(AA,2)+REF(AA,1)+REF(AA,0))/3,COLORYELLOW;FILLRGN(AA=黄金线,AA,黄金线),COLORYELLOW,COLOR0077FF;FILLRGN(AA黄金线,AA,黄金线),COLORBLUE,LINETHICK2;...
首先需要说明的是,这里只放出主图源码的线条,而贴图是经过美化后的效果,因为本人使用的是飞狐,考虑到源码的通用性,所发源码不含美化内容,但是在需要美化的地方加了括号说明。均线包括三组,第一组为跟庄线,工作线和黄金线,这一组为基本均线;第二组为天,地,...
{等价K线 } INPUT:N(5,1,100); fc:=c;fo:=o;cc:0*c,PRECISION4,LINETHICK0;oo:0*c,PRECISION4,LINETHICK0;t1:=0*c;t2:=0*c; for i=1 to datacount do begin if i=1 and fcfo then cc:=fc; oo:=fc; if i=1 and fcfo then cc:=fc; oo:=fc; if i1 then cc:=cc[i-1]; oo:=o...
这个公式是带未来函数的,至于如何使用,仁者见仁吧...
极度恐慌(轻仓,半仓,满仓,低进买入,副图,附图)...
代码://策略名:Aberration //类型:中长线//使用市场:多市场//修订时间:2012.11.1//Designed By Rogarzinput:m(35,5,300,30),N(2,0.1,10,1),ss(1,1,100,1);MID : MA(CLOSE,M);//中轨UPPER: MID + N*STD(CLOSE,M);//上轨LOWER: MID - N*STD(CLOSE,M);//下轨手数:ss;//条...
划线判趋势 {法利辨势-六主图} 参数: input:n(3,2,9999),m(0,0,9999),n1(21,0,9999),p1(0,0,999),p2(10,0,999),p3(20,0,999),p4(30,0,999),p5(60,0,999),p6(120,0,999),p7(240,0,999),p8(360,0,999),n2(1,1,8); A1:=REF(HIGH,N)=HHV(HIGH,2*N+1); B1:=FILTER(A1,N); C...
底部吸筹放量拉升 参数N(73) VAR1:=IF(DATE1130631,1,0); VAR2:=REF(LOW,1); VAR3:=(SMA(ABS(LOW-VAR2),3,1))/(SMA(MAX(LOW-VAR2,0),3,1))*100; VAR4:=EMA(IF(CLOSE*1.3,VAR3*10,VAR3/10),3); VAR5:=LLV(LOW,30); VAR6:=HHV(VAR4,30); VAR7:=IF(MA(CLOSE,58),1,0); VAR...
//说明:此策略为后台自动移仓策略 //使用说明:后台加载此策略,时间可设置为每10分钟检测一次,当持有的仓位不是主力合约时自动换到主力合约。 {macd支撑压力参考线}DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIF,9);MACD:(DIF-DEA)*2,COLORGREEN;MACD1:EMA((DIF-D...
螃蟹暴涨,被强煎的螃蟹专用 暴涨预警买进 DRAWTEXT(BARPOS=SYSPARAM(2),1,' 制作'),ALIGN4,colorFF00; DRAWTEXT(BARPOS=SYSPARAM(2),1,'*****'),ALIGN4,colorFFCC33; A:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),N); A1:=HIGH-REF(HIGH,1...
hh:=v*100/capital; aa:=(c-ref(c,1))*100/ref(c,1); jj:=amount/100*v; tt:=count(hh=2.6 and aa0 and c=jj,91); tt1:=count(hh=2.6 and aa0 and c=jj,34); tt2:=count(hh=2.6 and aa0 and c=jj or aa=hh-0.8 and aa=2.2,34); tt3:=count(hh=1.5 and aa1.5 and aa=hh-...
文本中上为飞狐下为通达信源码,本指标含有获利比例函数,不喜欢者勿用下载,用法说明,红线行,绿线停,黄线观望须谨慎,下穿二五要走人。 STICKLINE(C0,25,25,6,0),COLORMAGENTA;均价:=(0.618*(0.809*C+0.191*o)+0.382*(if(H=C,C,H)+if(L=C,C,L))/2);lj:=if(STKTYPE=...
Q_1:=C-REF(C,1);Q_2:=100*EMA(EMA(Q_1,6),6)/EMA(EMA(ABS(Q_1),6),6);Q_3:=CROSS(EMA(C,19),EMA(C,7));Q_4:=CROSS(EMA(C,7),EMA(C,19));Z1:=L=LLV(L,BARSLAST(Q_3)+1);Z2:=LLV(L,BARSLAST(Q_3)+1);Z3:=H=HHV(H,BARSLAST(Q_4)+1);Z4:=HHV(H,BARSLAST(Q_4)+1);Q_A:=LINE...