分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册
当前位置:分析家公式网股票公式金字塔公式 → 一键转帖:均线融合

软件名称:[B]均线融合[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2018-12-29 02:05:18
软件简介:

 
 input:n(9,1,100,10),p1(3,2,40,4),p2(3,2,40,4);//参数设置
 
ma30:ma(c,30);
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,P1,1);
D:SMA(K,P2,1);
J:3*K-2*D;
 
kdjjc:cross(k,d);//kdj金叉
kdjsc:cross(d,k);//kdj死叉
 
if   kdjjc and c>ma30 then 
begin
buy(holding=0,1,MARKET);//开多
end
 
if  kdjsc and c<ma30 then
begin
buyshort(holding=0,1,MARKET);//开空
end
 
if cross(c,ma30) and holding<0 then sellshort(1,holding,market);//平空
if cross(ma30,c) and holding>0 then sell(1,holding,market);//平多

[url=http://www.70822.com/soft/sort013/sort068/down-132039.html]均线融合[/url]

关于本站 | 网站帮助 | 广告合作 | 声明 | 友情连接 | 网站地图 |
分析家公式网声明:本站所有股票公式软件资料均网上公开收集,如侵权请联系删帖。站内所有广告,均与本站无关!
Copyright © 2003-2024 70822.Com. All Rights Reserved .
页面执行时间:46.99707 毫秒