& P1:=5;& 主力资金增减: IF(DATE& VAR1:=IF(DATE>=1990601,0,1);& VAR2:=TROUGHBARS(3,15,1)& VAR3:=PEAKBARS(3,15,1)& VAR4:=IF(VAR2=1,50,0),LINETHICK2;& VAR5:=IF(VAR3=1,50,0);& VAR6:=EMA(LLV(LOW,90),21);& VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21); VAR8:=
& OPENPERCENT:=(OPEN/REF(C,1)-1)*100;VOLPERCENT:=(V/REF(V,1)-1)*10;REALPERCENT:=-N;OPENPERCENTM*REF(V,1) AND CLOSE>OPEN;
& LAST5C:=REF(C,5);LAST5O:=REF(O,5);& LAST4C:=REF(C,4);LAST4O:=REF(O,4);& LAST3C:=REF(C,3);LAST3O:=REF(O,3);& LAST2C:=REF(C,2);LAST2O:=REF(O,2);& LAST1C:=REF(C,1);LAST1O:=REF(O,1);& LAST1C>LAST1O AND LAST2C>LAST2O AND LAST3C>LAST3O AND LAST4C>LAST4O AND LAST5C>LAST5OAND REF(C,5)>REF(C,6)...
& N:=14;LC:=REF(CLOSE,1);RSI5:=((SMA(MAX((CLOSE - LC),0),5,1) / SMA(ABS((CLOSE - LC)),5,1)) * 100);TR1:=SUM(MAX(MAX((HIGH - LOW),ABS((HIGH - REF(CLOSE,1)))),ABS((LOW - REF(CLOSE,1)))),10);HD:=(HIGH - REF(HIGH,1));LD:=(REF(LOW,1) - LOW);DMP:=SUM(IF(((HD > 0) AND (HD > LD)),HD,0),10);DMM:=SUM(IF(((L...
原码:RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,M1,1);D:SMA(K,M2,1);RSV2:=(CLOSE-LLV(LOW,NN))/(HHV(HIGH,NN)-LLV(LOW,NN))*100;K2:=SMA(RSV2,MM1,1);D2:SMA(K2,MM2,1);RSV3:=(CLOSE-LLV(LOW,NNN))/(HHV(HIGH,NNN)-LLV(LOW,NNN))*100;K3:=SMA(RSV3,MMM1,1);D3:SMA(K3,MMM2,1);上升1:IF(D>D2,D,D...
源码内容:Paramsbool Binitstatus(False);//初始化标志,修改初始仓位时需设置为truenumeric Initmyrealmp(0);//初始当前仓位,正数表示多单,负数表示空单numeric Firstgrid(10);//第一笔交易的间距,最小跳动numeric Addgrid(30);//加仓间距,最小跳动numeric Totalgrids(10);//最大交易次数numeric Trailinggrid(10);//移动止损间距,最小跳动numeric Everylots(1);//每次开仓手数numeric Offset(1);//委托价偏差,默
& N:=14;DRAWGBK(V>1,STRIP(RGB(60,100,255),RGB(180,180,255),1));个股:EMA(100*(C-LLV(LOW,21))/(HHV(H,21)-LLV(LOW,21)),3),Coloryellow,LINETHICK0;STICKLINE(个股>个股 OR 个股>REF(个股,1),100,0,10,0),Colorff4aa5;STICKLINE(个股REF(个股,1),RGB(255,255,0),个股15;VAR4:=VOL>MA(VOL,4)*2 AND VOL
原理解析:A7赋值:收盘价-1日前的收盘价A8赋值:100*A7的6日指数移动平均的6日指数移动平均/A7的绝对值的6日指数移动平均的6日指数移动平均输出买进:(2日内A8的最低值=7日内A8的最低值 AND 统计2日中满足A8180000 And (CXH=1 OR CXH=6));DRAWTEXTREL(10 ,10 ,指标公式);
N:=(20);P:=(12);阻挡线:=SMA(HIGH,21,2)*1.035,POINTDOT,COLORFFFFFF;下档线:=SMA(LOW,21,2)*0.96,POINTDOT;上:=EMA(MA(HIGH,3)*1.05,30); {原句 上:=FFT(MA(HIGH,3)*1.05,30);分析家无FFT,故改}趋势:=EMA(MA(LOW,3)*0.96,30); {原句 趋势:=FFT(MA(LOW,3)*0.96,30);分析家无FFT,故改}短期支撑:=LLV(CLOSE,N),COLOR6803C7;中:=EMA(MA(OPEN,3)*0.99,30); {原句 中
& 原理解析:输出V1:收盘价的5日指数移动平均,画黄色输出V2:收盘价的29日指数移动平均*1.01的10日指数移动平均,COLORFFCC66当满足条件V1上穿V2时,在V2位置画1号图标输出V3:收盘价的10日指数移动平均,COLORFF00FF输出V4:收盘价的60日指数移动平均*0.99的10日指数移动平均,COLOR0099FF当满足条件V3上穿V4时,在V4位置画1号图...
上一页 [8] [9] [10] [11] [12] 13 [14] [15] [16] [17] 下一页