KDJ长中短期==好用!好用!好用! {KDJ长中短期} A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED; B:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14)); D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;...
{MA20与ma250}{主图} MA20:MA(CLOSE,20),COLOR00FF00,LINETHICK3; MA250:MA(CLOSE,250),COLORGRAY,LINETHICK3; IF(MA250REF(MA250,1),MA250,C); STICKLINE(MA20REF(MA20,1) AND MA250REF(MA250,1),MA20,MA250,1,0), COLOR00FFFF; {设计思路:ma20向上,同时ma250也向上...
炒股多年有个自用公式想与大家分享...
波段主副图指标...
短线三宝之短平快 {n3,m5} 快: EMA(CLOSE,N); 短: EMA(CLOSE,M); STICKLINE(快短,短,快,0.1,0); STICKLINE(快短,快,短,0.1,0); 平: EMA(短,M),LINETHICK2 ,COLORRED; DRAWTEXT(CROSS(短,快),快,'◆溜'),COLORGREEN; DRAWTEXT(CROSS(快,短),快,'★买'),COLORYELLOW; 短...
macdk线==别有情趣的指标! {macdk线} RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*200-100; K:=SMA(RSV,3,1); D:=SMA(K,3,1); J:=3*K-2*D; 月K:=ma(KDJ.k(89,3,3),26),COLORGREEN; 月J:=ma(KDJ.j(89,3,3),26),COLORRED; 周k:=ma(KDJ.k(27,3,3),5),LINETHICK0;...
N:= 5 ; M:=13 ; MA5:MA(C,N),COLORWHITE; MA18:=MA(CLOSE,18); MA13:MA(C,M),COLORGREEN,LINETHICK2; VAR1:=C=HHV(C,4) AND REF(C,1)=LLV(C,4); VAR2:=C=LLV(C,4) AND (REF(C,1)REF(C,2) OR REF(C,1)REF(C,3)) OR REF(C,1)=LLV(C,4) AND CREF(C,2) OR REF(C,2)=LLV(C,...
{jzzs价值中枢}{主图} Var1:=IF(DATE=10201201,0,1); Var2:=EMA(SLOPE(CLOSE,21)*20+CLOSE,55); Var3:=EMA(CLOSE,3); Var4:=(2*CLOSE+LOW+HIGH)/4*Var1; Var5:=Var2-Var3; 风险线:EMA(Var4,45)*1.15; 必卖线:EMA(Var4,55)*1.3; 底线:EMA(Var4,40)*0.85; 铁底线:EMA(Var...
多方空方---好用,简明,效果不错! {DFKF多方空方} var1:=ema((llv(l,21)-(h+l)/2)/(hhv(h,21)-llv(l,21))*-100,2); 多方:5*sma(var1,5,1)-3*sma(sma(var1,4,1),3,1)-sma(sma(sma(var1,4,1),3, 1),2,1),color00ff00,linethick3; 空方:reverse(多方),colorff99ff,linethic...
{ftkx副图k线a} ma5: MA(CLOSE,5),linethick2,Coloryellow; ma10: MA(CLOSE,10),linethick2,Colorffff00; mabbi2: EMA((EMA(CLOSE,4)+EMA(CLOSE,6)+EMA(CLOSE,12)+EMA(CLOSE,24))/4,2), linethick2,colorwhite; ma30: MA(CLOSE,30),linethick2,Colorff00ff; ma60: MA(C...
{试金石}{主图,参数缺省m为13,n为21} WH01:=MA(CLOSE,M)+MA(CLOSE,M)-REF(MA(CLOSE,M),1),COLORF4E202,LINETHICK2; WH02:=IF(MA(CLOSE,M)WH01,WH01,MA(CLOSE,M)),COLORF4E202,LINETHICK2; WH03:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));...
BOLL大趋势---五线布林看趋势很好! {BOLL大趋势}{主图} MID:EMA(CLOSE,20),LINETHICK1,colorFFFFFF; UP1:MID+2*STD(CLOSE,20),LINETHICK1,color0000FF; LOW1:MID-2*STD(CLOSE,20),LINETHICK1,color00ff00; UP2:MID+3*STD(CLOSE,20),LINETHICK1,colorFF00FF; LOW2:MID-3...
线定乾坤==波段操作的好手! {sxdqk四线定乾坤} 快线:EMA(EMA(EMA(EMA(CLOSE,2),2),2),2),LINETHICK2,COLOR0000FF; 慢线:EMA(REF(快线,1),2),LINETHICK2,COLOR00FFFF; 趋势1:EMA(EMA(EMA(EMA(EMA(CLOSE,55),2),2),2),2),LINETHICK2, COLORFF00FF; 趋势2:EMA(EMA(EMA(EMA...
KDJ带色---好看!实用!效果好! {KDJ带色} 100,Stick,Linethick7,Colorwhite; k55:kdj.k(55,3,3); d55:kdj.d(55,3,3); stickline(k55=d55,k55,d55,8,1),color00ff00,linethick2; stickline(k55d55,k55,d55,8,1),colorred,linethick2; drawtext(cross(k55,d55) and k5530,...
kdj短中长==好用得很! {kdj短中长} 短RSV3:=(CLOSE-LLV(LOW,3))/(HHV(HIGH,3)-LLV(LOW,3))*100; 短K3:=SMA(短RSV3,3,1),COLOR00FFFF,LINETHICK3; 短d3:=SMA(短K3,3,1); 短J3:3*短K3-2*短d3,Coloraaaaaa; 中rsv27:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;...
文华上下多空指标源码 有声音预警 MA5:=MA(CLOSE,5); MA10:=MA(CLOSE,10); MA20:=MA(CLOSE,20); MA30:=MA(CLOSE,30); MA60:=MA(CLOSE,60); A:=CROSS(MA5=MA10MA10MA20MA20MA30,0.5); DRAWTEXT(A,H,'上'); PLAYSOUND(MA5=MA10MA10MA20MA20MA30CROSS(MA5,MA10),'A'); B:=...
咨询内容: 股指的IF1207合约的1分钟图中,只要某一分钟收盘时MACD指标中的MACD值从负转正或者从正转负(也就是出现红柱或绿柱)时,那么下一分钟开始只要此时的MACD值还为正或者负而且1分钟K线上穿或下穿前一根满足上述条件的那根K线的最高点时,开多仓或空仓。平仓条...
咨询内容: 老师,我想写个指标,想法是这样的: 1、KD指标里面KD时候,多状态(不是多信号)KD时候是空状态(也不是空信号); 2、MACD指标里面DIFFDEA时候,多状态,DIFFDEA空状态; 3、两个指标都是多状态,开多,反之开空; 4、两个指标一个是多状态,一个是空状态...
咨询内容: 30秒或者1分钟的布林线模型,出下轨卖出反手做多,出上轨卖出反手做空,早晨9:10开始,谢谢。 赢顺技术人员: 出下轨卖出反手做多 --- 是指K线的最高价小于上轨吗 出上轨卖出反手做空 --- 是指K线的最低价大于上轨吗 尾盘要平仓吗 赢顺客服: 不是,出下轨...
咨询内容: 上次的指标频繁买卖的次数太多了,想重新启用一个新的指标 dkx(多空线):当B线上穿D线形成金叉时,做多一手,当B线下穿D线,原有多头平仓并且反手做空,当B线上穿D线形成金叉,把原有的空头平仓并且反手做多,循环往复。 期待老师的编程。 谢谢! 赢顺技...