好公式网用指标公式为投资注入科技力量!
您的位置:好公式网其他公式
内容: 原始的图(MA高中低.JPG)源代码如下: HH:MA(REF(H,1),N); LL:MA(REF(L,1),N); N=10; 想要实现基本构想: (1)如果收盘价C第一次大于HH,则用红线画出HH;并且在HH线上标识即时HH值。同时LL线显示到此为止。 (2)直到收盘价C第一次小于LL,则用绿线画出LL;...
咨询内容: 在1分钟K线上可否叠加分时均价黄线,,如何叠加, 技术人员: 分时图中的均价黄色线无法直接提取,您可以通过SETTLE函数近似取得。SETTLE计算开盘以来至今用量进行加权计算的价格均值。 源码如下: M:=EMA(REF(SETTLE,1),1); A:=M-REF(M,1); B:=REFX(A,1); AB:...
dual thrust系统原形 开拓者TB源码: Inputs: K1(.5),K2(.5),Mday(1),Nday(1); Vars: BuyRange(0), SellRange(0); Vars: BuyTrig(0),SellTrig(0); Vars: HH(0),LL(0),HC(0),LC(0); //程序化交易 www.cxh99.com If CurrentBar 1 Then Begin HH = Highest(High,Mday); HC...
PSY交易模型源码: PSY:=COUNT(CLOSEREF(CLOSE,1),12)/12*100;//程序化交易 www.cxh99.com PSY=60,SK; CSKPRICE*1.1||CSKPRICE*0.8,BP; AUTOFILTER;//用于赢顺则删除该行 源码解析: PSY赋值:统计12日中满足收盘价昨收的天数/12*100 PSY=60,SK 收盘价SKPRICE*1.1或者收...
文华短线红绿多空交易模型策略源码 X1:HHV(OPEN,N); X2:LLV(OPEN,N); X3:(X1+X2)/2; TMP:=X3-CLOSE;//程序化交易 www.cxh99.com DRAWLINE(TMP0.00001,HIGH,TMP0.00001,OPEN,COLORCYAN); DRAWLINE(TMP0.00001,LOW,TMP0.00001,CLOSE,COLORCYAN); DRAWLINE(TMP-0.00001,HI...
源码:(据说月收益极高,仅供参考 ) MA1:=MA(CLOSE,5); MA2:=MA(CLOSE,10); MA3:=MA(VOL,3); CROSS(MA1,MA2)MA35000,BPK; CROSS(MA2,MA1)MA35000,SPK; AUTOFILTER;//程序化交易 www.cxh99.com 源码解析: MA1赋值:收盘价的5日简单移动平均 MA2赋值:收盘价的10日简单...
文华独特的形态箱体交易策略模型 BAA:=1; MA4:=EMA(CLOSE,10)*BAA; HH:=HHV(HIGH,5)*BAA; LL:=LLV(LOW,5)*BAA; H1:=IFELSE(CLOSEREF(HH,1),1,0)*BAA; L1:=IFELSE(CLOSEREF(LL,1),-1,0)*BAA; H0:=REF(HIGH,1)*BAA; L0:=REF(LOW,1)*BAA; P7:=H1+L1*BAA;//程序化交易 www....
咨询内容: 比如,1分钟周期下,以当天第一次rsi80的那根K线为参考,向上突破开多,向下突破开空。但只有当天的第一次rsi80那根K线有效。而且多空在当天各只做一把。 请问怎么实现。主要是限制当天只有第一突破开仓,以后再经过这个轴的全无效 文华技术人员: LC := RE...
买卖一绝: N: =1; N1: =1; N2: =1; HH:=HHV(HIGH,1)/5+HHV(HIGH,2)/5+HHV(HIGH,2)/5+HHV(HIGH,5)/5+HHV (HIGH,8)/5; LL:=LLV(LOW,1)/5+LLV(LOW,2)/5+LLV(LOW,2)/5+LLV(LOW,5)/5+LLV(LOW,8)/5; H1:= IFELSE(HREF(H,2)REF(H,1)REF(H,2),REF(H,2),0); L1:= IFELSE(LREF(L...
文华SARLINE资金管理交易模型(本模型仅适用于 K线走完确认信号后下单 ) 参数: M [ 5 ] 源码: PARAM[N, 1, 100, 4] PARAM[STEP, 0.01, 0.2, 0.02] PARAM[MVALUE, 0.01, 1, 0.2] SARLINE:SAR(N,STEP,MVALUE),CIRCLEDOT; BKVOL=0 AND REF(SARLINE,1)0 AND REF(SARLINE...
筹码趋向指标: VAR1:=1; VAR3:=MA(CLOSE,13); VAR4:=100-ABS((CLOSE-VAR3)/VAR3*100); VAR5:=LLV(LOW,75); VAR6:=HHV(HIGH,75); VAR7:=(VAR6-VAR5)/100; VAR8:=SMA((CLOSE-VAR5)/VAR7,20,1); VAR9:=SMA((OPEN-VAR5)/VAR7,20,1); VARA:=3*VAR8-2*SMA(VAR8,15,1); VARB:...
咨询内容: 例如: 以开盘后的第一根K线作为标准, 1、突破其最高点BPK,第一次开多盈利50点止盈 2、跌破其最低点SPK,第一次开空盈利90点止盈 3、跌破最低点后没有达到止盈标准,价格有回到第一根K线的高点之上,再度BPK,第二次开多止盈为盈利100点。 4、之后多单未能...
TMP:=OPEN-CLOSE; DRAWLINE(TMP0.0001,HIGH,TMP0.0001,OPEN,COLORCYAN); DRAWLINE(TMP0.0001,LOW,TMP0.0001,CLOSE,COLORCYAN); DRAWLINE(TMP-0.0001,HIGH,TMP-0.0001,CLOSE,COLORRED); DRAWLINE(TMP-0.0001CLOSE,LOW,TMP-0.0001,OPEN,COLORRED); DRAWLINE(ABS(TMP)0.00...
DIFELSEF := EMA(CLOSE,12) - EMA(CLOSE,26); DEA:= EMA(DIFELSEF,9); LC := REF(CLOSE,1); RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100; RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LO...
淘宝-分时来回赚.fml...
趋势顶底 文华用 FILLRGN(1,20,80,COLORLIGHTGREY); FILLRGN(1,90,100,COLORLIGHTRED); FILLRGN(1,79,90,COLORLIGHTGREEN); FILLRGN(1,10,20,COLORLIGHTBLUE); FILLRGN(1, 0,10,COLORCYAN); A:=MA(-100*(HHV(HIGH,N)-CLOSE)/(HHV(HIGH,N)-LLV(LOW,N)),19),COLORRED; B:...
《PP》模型源码: TB:=IF(HIGHREF(CLOSE,1),HIGH-REF(CLOSE,1)+CLOSE-LOW,CLOSE-LOW); TS:=IF(REF(CLOSE,1)LOW,REF(CLOSE,1)-LOW+HIGH-CLOSE,HIGH-CLOSE); VOL1:=(TB-TS)*VOL/(TB+TS)/10000; VOL0:=DMA(VOL1,0.07); VOL2:=DMA(VOL1,0.01); SHORT:=VOL0-VOL2,COLORSTICK...
压力支撑...
抢金多空版 S:=CROSS(CLOSE,EMA2(HIGH,30)); X:=CROSS(EMA2(LOW,30),CLOSE); WS:=BARSLAST(S)+1; WX:=BARSLAST(X)+1; SS:=CROSS(SUM(S,WX),0.5); XX:=CROSS(SUM(X,WS),0.5); STICKLINE(CLOSEEMA2(HIGH,30),EMA2(HIGH,30),EMA2(LOW,30),COLORMAGENTA,1); STICKLINE(CLOS...
《超级短线》指标 源码: H:=HIGH; L:=LOW; A:=IF(HIGH=REF(HIGH,1)HIGH=REF(HIGH,2)HIGH=REF(HIGH,3) HIGH=REF(HIGH,4)HIGH=REF(HIGH,5),LOW,0); B:=IF(LOW=REF(LOW,1)LOW=REF(LOW,2)LOW=REF(LOW,3) LOW=REF(LOW,4)LOW=REF(LOW,5),HIGH,888888); P1:=IF(AREF(L,1),REF...

猜你喜欢

网友爱看

学了又学