全套混沌操作法指标公式源码[其他软件公式]
相关标签: 源码免杀全套教程 、 c#股票分析全套源码 、 墨香全套源码免费下载 、 一线操作法 红线 源码 、 混沌套装全套多钱 、 新ces学习法初中全套 、 2011平法图集全套 、 平法图集全套免费下载 、 平法图集全套 、
全套混沌操作法指标公式源码
Var1:=BACKSET(ref(HIGH,2)=HHV(HIGH,5),3);
Var2:=CROSS(Var1,0.9);
Var3:=BACKSET(ref(LOW,2)=LLV(LOW,5),3);
Var4:=CROSS(Var3,0.9);
STICKLINE(Var2,HIGH,HIGH*1.01,5,0),Color00E40E;
STICKLINE(Var4,LOW,LOW*0.99,5,0),Color00E40E;
Var5:=IF(Var2,HIGH,IF(Var4,LOW,0));
POLYLINE(Var5,Var5),Colorff00ff;
Var6:=BACKSET(ref(HIGH,2)=HHV(HIGH,5) AND LOW<ref(LOW,1) AND HIGH<ref(HIGH,1),3);
Var7:=BACKSET(ref(HIGH,2)=HHV(HIGH,5) AND LOW>ref(LOW,1) AND HIGH>ref(HIGH,1),3);
Var8:=BACKSET(ref(HIGH,2)=HHV(HIGH,5) AND HIGH<ref(HIGH,1) AND LOW>ref(LOW,1)
AND ref(LOW,1)>ref(LOW,2) AND ref(HIGH,1)<ref(HIGH,2),3);
Var9:=BACKSET(ref(LOW,2)=LLV(LOW,5) AND LOW>ref(LOW,1) AND HIGH>ref(HIGH,1),3);
VarA:=BACKSET(ref(LOW,2)=LLV(LOW,5) AND LOW<ref(LOW,1) AND HIGH<ref(HIGH,1),3);
VarB:=BACKSET(ref(LOW,2)=LLV(LOW,5) AND HIGH<ref(HIGH,1) AND LOW>ref(LOW,1)
AND ref(LOW,1)>ref(LOW,2) AND ref(HIGH,1)<ref(HIGH,2),3);
坚定: STICKLINE(CROSS(Var6,0.9),HIGH,HIGH*1.01,5,0),Color0000FF;
STICKLINE(CROSS(Var9,0.9),LOW,LOW*0.99,5,0),Color0000FF;
犹豫: STICKLINE(CROSS(Var7,0.9),HIGH,HIGH*1.01,5,0),Color00E5E9;
STICKLINE(CROSS(VarA,0.9),LOW,LOW*0.99,5,0),Color00E5E9;
等待: STICKLINE(CROSS(Var8,0.9),HIGH,HIGH*1.01,5,0),ColorFF4100;
STICKLINE(CROSS(VarB,0.9),LOW,LOW*0.99,5,0),ColorFF4100;
压力: ref(HIGH,BARSLAST(Var2)), POINTDOT,ColorEA91B5;
STICKLINE(CLOSE,ref(HIGH,BARSLAST(Var2)),ref(HIGH,BARSLAST(Var2)),5,0),ColorEA91B5;
支撑: ref(LOW,BARSLAST(Var4)), POINTDOT,Color3791B5;
STICKLINE(CLOSE,ref(LOW,BARSLAST(Var4)),ref(LOW,BARSLAST(Var4)),5,0),Color3791B5;
现价:CLOSE,POINTDOT,Color000F89;
MFI公式源码:
参数名:N 14 2 300
TYP := (HIGH + LOW + CLOSE)/3;
SUM(IF(TYP>ref(TYP,1),TYP*VOL,0),N)/SUM(IF(TYP<ref(TYP,1),TYP*VOL,0),N)
5/34/5 MACD公式源码:
MA(c,5)-MA(c,34) COLORSTICK ;
MA(MA(c,5)-MA(c,34),5);
s:=EMA((MA(c,5)-MA(c,34)),3);
s1:=s<ref(s,1)and s>0;
s2:=s<ref(s,1)and s<0;
STICKLINE(s>=0,0,s,8,1),COLORRED;
STICKLINE(s1,0,s,5,0),COLOR00ffff;
STICKLINE(s2,0,s,4,0),COLORffffff;
四种视窗指标公式源码:
MFI:(H-L)*100000/V;
MA5:MA(MFI,5);
A1:MFI>=ref(MFI,1)*1.1 AND V>=ref(V,1)*1.1;
A2:MFI<=ref(MFI,1)*0.9 AND V<=ref(V,1)*0.9;
A3:MFI>=ref(MFI,1)*1.1 AND V<=ref(V,1)*0.9;
A4:MFI<=ref(MFI,1)*0.9 AND V>=ref(V,1)*1.1;
DRAWTEXT(A2,4,'衰退'),linethick3;
DRAWTEXT(A1,1,'绿灯'),linethick3;
DRAWTEXT(A3,3,'伪装'),linethick3;
DRAWTEXT(A4,2,'蛰伏'),linethick3;
0.1
鳄鱼线指标公式源码:
Var1:=(H+L)/2;
上唇:ref(SMA(Var1,5,1),3),COLORGREEN;
牙齿:ref(SMA(Var1,8,1),5),COLORRED;
下颚:ref(SMA(Var1,13,1),8),COLORBLUE;
颚鱼分形指标公式源码:
Var1:=(H+L)/2;
上唇:ref(SMA(Var1,5,1),3),COLORGREEN;
牙齿:ref(SMA(Var1,8,1),5),COLORRED;
下颚:ref(SMA(Var1,13,1),8),COLORBLUE;
Var1:=BACKSET(ref(HIGH,2)=HHV(HIGH,5),3);
Var2:=CROSS(Var1,0.9);
Var3:=BACKSET(ref(LOW,2)=LLV(LOW,5),3);
Var4:=CROSS(Var3,0.9);
drawicon(Var2,HIGH*1.01,4),Color00E40E;
drawicon(Var4,LOW*0.99,5),Color00E40E;
Var5:=IF(Var2,HIGH,IF(Var4,LOW,0));
{POLYLINE(Var5,Var5),Colorff00ff;}
Var6:=BACKSET(ref(HIGH,2)=HHV(HIGH,5) AND LOW<ref(LOW,1) AND HIGH<ref(HIGH,1),3);
Var7:=BACKSET(ref(HIGH,2)=HHV(HIGH,5) AND LOW>ref(LOW,1) AND HIGH>ref(HIGH,1),3);
Var8:=BACKSET(ref(HIGH,2)=HHV(HIGH,5) AND HIGH<ref(HIGH,1) AND LOW>ref(LOW,1)
AND ref(LOW,1)>ref(LOW,2) AND ref(HIGH,1)<ref(HIGH,2),3);
Var9:=BACKSET(ref(LOW,2)=LLV(LOW,5) AND LOW>ref(LOW,1) AND HIGH>ref(HIGH,1),3); {文章来至程序化交易网 cxh99.com}
VarA:=BACKSET(ref(LOW,2)=LLV(LOW,5) AND LOW<ref(LOW,1) AND HIGH<ref(HIGH,1),3);
VarB:=BACKSET(ref(LOW,2)=LLV(LOW,5) AND HIGH<ref(HIGH,1) AND LOW>ref(LOW,1)
AND ref(LOW,1)>ref(LOW,2) AND ref(HIGH,1)<ref(HIGH,2),3);
上向分形: ref(HIGH,BARSLAST(Var2)), POINTDOT,ColorEA91B5;
STICKLINE(CLOSE,ref(HIGH,BARSLAST(Var2)),ref(HIGH,BARSLAST(Var2)),5,0),COLORMAGENTA;
向下分形: ref(LOW,BARSLAST(Var4)), POINTDOT,Color3791B5;
STICKLINE(CLOSE,ref(LOW,BARSLAST(Var4)),ref(LOW,BARSLAST(Var4)),5,0),COLORYELLOW;
AO指标公式源码:
Var1:=(H+L)/2;
AO:SMA(Var1,5,1)-SMA(Var1,34,1),COLOR6699CC;
STICKLINE(AO>=ref(AO,1),0,AO,6,1),COLORRED;
STICKLINE(AO<=ref(AO,1),0,AO,6,1),COLORGREEN;
AO,COLOR000000;
AC指标公式源码:
Var1:=(H+L)/2;
AO:=SMA(Var1,5,1)-SMA(Var1,34,1);
AC:SMA((AO-SMA(AO,5,1)),5,1),COLOR6699CC;
STICKLINE(AC>=ref(AC,1),0,AC,6,1),COLORRED;
STICKLINE(AC<=ref(AC,1),0,AC,6,1),COLORGREEN;
AC,COLOR000000;
区域指标公式源码:
Var1:=(H+L)/2;
AO:=SMA(Var1,5,1)-SMA(Var1,34,1);
AC:=SMA((AO-SMA(AO,5,1)),5,1);
AO>ref(AO,1) AND AC>ref(AC,1),COLORRED;
AO<ref(AO,1) AND AC<ref(AC,1),COLORGREEN;
AO>ref(AO,1) AND AC<ref(AC,1),COLORGRAY;
AO<ref(AO,1) AND AC>ref(AC,1),COLORGRAY;
OSC指标公式源码:
参数名:SHORT 5 1 999
LONG 35 1 999
MA1:=MA((HIGH+LOW)/2,SHORT);
MA2:=MA((HIGH+LOW)/2,LONG);
MA1-MA2,STICK,COLORgreen;
OSCMACD指标公式源码:
参数名:LONG 35 1 999
SHORT 5 1 999
OSC: (MA(CLOSE,SHORT)-MA(CLOSE,LONG))/MA(CLOSE,SHORT)*100, COLORSTICK;
OSCMACD: MA(OSC,5);
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 262069696 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容