吃鱼身指标公式源码[同花顺公式]
相关标签: 痛风适合吃什么鱼 、 鱼身怎么做好吃 、 500型跟1000型渔轮对比 、 纹完身能吃鱼吗 、 神在吃鱼 、 十大养不死的热带鱼 、 吃鱼是什么梗 、 养七彩鱼的三大禁忌 、 活鲫鱼身上有溃烂能吃吗 、 鱼轮200型和1000型的区别 、 200型的纺车轮能上多长线 、 咳嗽可以吃鱼吗 、
原理解析:
源码:
VAR1:=(HHV(HIGH,8)-LLV(LOW,8));VAR2:=(HHV(HIGH,8)-CLOSE);VAR3:=(CLOSE-LLV(LOW,8));VAR4:=VAR2/VAR1*100-70 ;VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;VAR6:=(2*C+H+L)/4;VAR7:=SMA((VAR3/VAR1*100),3,1);VAR8:=LLV(LOW,30);VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1);VAR10:= IF(VAR9>100,VAR9-100,0);VARA:=HHV(HIGH,30);VAR1:=(CLOSE+HIGH+LOW+OPEN)/4;VAR8:=(2*CLOSE+HIGH+LOW)/4;VAR9:=LLV(LOW,34);VAR10:=HHV(HIGH,34);//www.cxh99.comVAR11:=EMA((VAR8-VAR9)/(VAR10-VAR9)*100,8);VAR12:=EMA(VAR11,5);STICKLINE(VAR11>0 AND VAR11-VAR12>=0,79,80,16,0),colorred,LINETHICK9;STICKLINE(VAR11>0 AND VAR11-VAR12<0,79,80,16,1),colorgreen,LINETHICK9;STICKLINE(VAR11>0 AND VAR11-VAR12>=0,19,20,16,0),colorred,LINETHICK9;STICKLINE(VAR11>0 AND VAR11-VAR12<0,19,20,16,1),colorgreen,LINETHICK9;//STICKLINE(VAR11-VAR12>0,VAR11,VAR12,16,1),colorred,LINETHICK2;STICKLINE(VAR11-VAR12<0,VAR11,VAR12,16,1),colorgreen,LINETHICK2;//VAR6:=(2*C+H+L)/4;VAR8:=LLV(LOW,30);VARA1:=HHV(HIGH,30);B:=EMA((VAR6-VAR8)/(VARA1-VAR8)*100,8);B1:=EMA(B,5);STICKLINE(B>0 AND B-B1>=0,49,50,16,0),colorred,LINETHICK9;STICKLINE(B>0 AND B-B1<0,49,50,16,0),colorcyan,LINETHICK9;VAR8:=(2*CLOSE+HIGH+LOW)/4;VAR9:=LLV(LOW,34);VAR10:=HHV(HIGH,34);VAR11:=EMA((VAR8-VAR9)/(VAR10-VAR9)*100,8);VAR12:=EMA(VAR11,5);STICKLINE(VAR11>0 AND VAR11-VAR12>=0,79,80,16,0),colorred;STICKLINE(VAR11>0 AND VAR11-VAR12<0,79,80,16,1),COLORGREEN;//http://www.cxh99.com
STICKLINE(VAR11>0 AND VAR11-VAR12>=0,1,20,16,0),colorred;
//VAR61:=((CLOSE - LLV(LOW,15))/(HHV(HIGH,15) - LLV(LOW,15)))*(100);VAR62:=REVERSE(VAR61);VAR63:=SMA(VAR61,5,1);K:=SMA(VAR63,3,1);D:=SMA(K,3,1);DRAWTEXT(CROSS(K,D) AND MA(CLOSE,5)<CLOSE,D,'B'),COLORFFFFFF;DRAWTEXT(CROSS(D,K) AND MA(CLOSE,5),D,'S'),COLORGREEN;//http://www.cxh99.com
STICKLINE((K >= D),K,D,16,0),COLOR0000A8;STICKLINE((K >= D),K,D,5,0),COLOR0000C0;STICKLINE((K >= D),K,D,4,0),COLOR0000E0;STICKLINE((K >= D),K,D,3,0),COLOR0000F0;STICKLINE((K >= D),K,D,2,0),COLOR0000D0;STICKLINE((K >= D),K,D,1,0),COLOR8080FF;STICKLINE((K <= D),K,D,16,0),color008800;STICKLINE((K <= D),K,D,5,0),COLOR009900;STICKLINE((K <= D),K,D,4,0),COLOR00AA00;STICKLINE((K <= D),K,D,3,0),COLOR00BB00;STICKLINE((K <= D),K,D,2,0),COLOR00CC00;STICKLINE((K <= D),K,D,1,0),COLOR00DD00;VAR8:=(2*CLOSE+HIGH+LOW)/4;VAR9:=LLV(LOW,34);VAR10:=HHV(HIGH,34);VAR11:=EMA((VAR8-VAR9)/(VAR10-VAR9)*100,8);VAR12:=EMA(VAR11,5);STICKLINE(VAR11>0 AND VAR11-VAR12>=0,79,80,16,0),colorred;STICKLINE(VAR11>0 AND VAR11-VAR12<0,79,80,16,1),COLORGREEN;//http://www.cxh99.com
STICKLINE(VAR11>0 AND VAR11-VAR12>=0,1,20,16,0),colorred;B:=ZIG(2,1)*100,colorwhite;G:=MA(B,2),coloryellow;D:=CROSS(B,G)*1000,colorred;W:=CROSS(G,B)*1000,colorblue;DRAWGBK( W=1000 ),colorblue;DRAWGBK( D=1000 ),colorlired;DIFF:= EMA(DCLOSE,12)-EMA(DCLOSE,40);DEA:= EMA(DIFF,9),COLORFFFF00;MACD:= (DIFF-DEA)*2;A1: BARSLAST(DIFF<REF(DIFF,1)),coloryellow,LINETHICK2;A2: BARSLAST(DEA<REF(DEA,1)),colorgreen,LINETHICK2;STICKLINE(A1>0 AND A2>0,0,A1,10,0),colorgray,LINETHICK7;
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,交易模型,选股公式,还原公式的朋友
可联系技术人员 QQ: 262069696 或微信:cxhjy888 进行 有偿收费 编写!(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
(注:由于人数限制,QQ或微信请选择方便的一个联系我们就行,加好友时请简单备注下您的需求,否则无法通过。谢谢您!)
相关文章
-
没有相关内容