飞狐螺旋周期法副图指标源码公式[其他软件公式]
相关标签:
飞狐螺旋周期法副图指标源码
原理解析:
来源:程序化99( WWW.CXH99.COM )
源码:
input:N(6,0,100),年(1999,1990,2050),月(5,1,12),日(19,1,31),M(1,0,50);
VAR1:=((BARSLAST((LOW = LLV(LOW,300))) * 3.142) / 180);
A2:SIN((VAR1 * N));
A3:COS((VAR1 * N));
(INTPART(VAR1) = 60);
(INTPART(VAR1) = 120);
BB:=1;
IF
BB:=(10000 * (年 - 1900));
IF
BB:=(1000000 + (10000 * (年 - 2000)));
BB:=((BB + (月 * 100)) + 日);
BB:=DATE;
CC:=DATEDIFF(BB,DATE);
螺旋线1:((((((((((CC = (0 * M)) OR (CC = (30 * M))) OR (CC = (42 * M))) OR (CC = (51 * M))) OR (CC = (66 * M))) OR (CC = (84 * M))) OR (CC = (106 * M))) OR (CC = (135 * M))) OR (CC = (172 * M))) OR (CC = (219 * M)));
螺旋线2:(((((((((CC = (279 * M)) OR (CC = (354 * M))) OR (CC = (451 * M))) OR (CC = (573 * M))) OR (CC = (729 * M))) OR (CC = (928 * M))) OR (CC = (1180 * M))) OR (CC = (1501 * M))) OR (CC = (1909 * M)));
螺旋线3:(((((((((CC = (2429 * M)) OR (CC = (3090 * M))) OR (CC = (3930 * M))) OR (CC = (4999 * M))) OR (CC = (6359 * M))) OR (CC = (8089 * M))) OR (CC = (10289 * M))) OR (CC = (16648 * M))) OR (CC = (13088 * M)));{程序化交易 www.cxh99.com }
公式导入教程: 【通达信公式源码导入方法教程】 【同花顺公式源码导入方法教程】 【大智慧新一代公式源码导入方法教程】
有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友
可联系技术人员 QQ: 511411198 进行 有偿 编写!(不贵!点击查看价格!)
相关文章
-
没有相关内容