分析家公式网,提供指标公式,股票软件 用户登录  |  用户 注册

软件名称:[B]TB天财藏金、免费分享天财藏金指标[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:0 Bytes
官方主页:Home Page
更新时间:2018-08-23 00:43:35
软件简介:

 公式简介:

 
咱们提前说明一下此天财藏金策略模型仅供大家学习交流之用,尽管小编对多个品种合约进行测试有一定的盈利效果,但是在震荡走势中资产回撤值较大,因此实站性比较差,但做为交易参考之用还是可以的。由于该天财藏金策略较为简单,为了达到理想的效果可用于偏大一点的K线周期中,如60分钟等,在棉花中的界面如下:
 
天财藏金策略
 
从上图单方面来看该指标的开仓信号还算及时,还是往往平仓机会较差,难免出现较大的止损交易,不建议开启自动交易功能,可做为价咯走势的参考工具。如需实站策略可联系我们推荐适用你个人的策略,今天这款天财藏金策略就免FEI分享给各位了,》》 下载链接即可..

 
 
Params
Bool  bInitStatues(false); 
Numeric InitMyRealMp(0);
Numeric FirstGrid(30); 
Numeric AddGrid(5);
Numeric TotalGrids(10); 
Numeric TrailingGrid(30);
Numeric EveryLots(1); 
Numeric OffSet(1); 
Numeric ExitOnCloseMins(14.58);
Vars
Numeric HighAfterLongEntry;
Numeric LowAfterShortEntry;
Numeric MyRealMp(0);
Numeric MinPoint;
Numeric tmpPrice;
Numeric tmpLots;
 
Begin
MinPoint=Minmove*PriceScale;
MyRealMp=GetGlobalVar(0);
HighAfterLongEntry=GetGlobalVar(1);
LowAfterShortEntry=GetGlobalVar(2);
if (BarStatus==0 And (MyRealMp==InvalidNumeric || bInitStatues))
{MyRealMp=InitMyRealMp;
}if (Date<>Date[1])
{HighAfterLongEntry=High;
LowAfterShortEntry=Low;
MyRealMp=0;
}Else
{HighAfterLongEntry=Max(HighAfterLongEntry,High);
LowAfterShortEntry=Min(Low,LowAfterShortEntry);
}
If (Time<ExitOnCloseMins/100)
{If ( MyRealMp>0 And HighAfterLongEntry-Low>=TrailingGrid*MinPoint
And(High-Low<TrailingGrid*MinPoint Or(High-Low>=TrailingGrid*MinPoint And close<Open)))
{tmpPrice=Max(HighAfterLongEntry-(TrailingGrid-OffSet)*MinPoint,Low);
tmpLots=Abs(MyRealMp*EveryLots);
Sell(tmpLots,tmpPrice);
MyRealMp=0;
LowAfterShortEntry=Low;
}Else
If ( MyRealMp<0 And High-LowAfterShortEntry>=TrailingGrid*MinPoint
And(High-Low<TrailingGrid*MinPoint Or(High-Low>=TrailingGrid*MinPoint And close>Open)))
{tmpPrice=Min(LowAfterShortEntry+(TrailingGrid+OffSet)*MinPoint,High);
tmpLots=Abs(MyRealMp*EveryLots);
BuyToCover(tmpLots,tmpPrice);
MyRealMp=0;
HighAfterLongEntry=0;
}
if (MyRealMp==0 And High-LowAfterShortEntry>=FirstGrid*MinPoint)
{tmpPrice=Min(LowAfterShortEntry+(FirstGrid+OffSet)*MinPoint,High);
tmpLots=EveryLots;
Buy(tmpLots,tmpPrice);
MyRealMp=1;
HighAfterLongEntry=High;
}Else
if (MyRealMp> 0 And MyRealMp <TotalGrids And High-LowAfterShortEntry>=(FirstGrid+MyRealMp*AddGrid)
*MinPoint)
{tmpPrice=Min(LowAfterShortEntry+(FirstGrid+MyRealMp*AddGrid+OffSet)*MinPoint,High);
tmpLots=EveryLots;
Buy(tmpLots,tmpPrice);
MyRealMp=MyRealMp+1;
}Else
if (MyRealMp==0 And HighAfterLongEntry-Low>=TrailingGrid*MinPoint )
{tmpPrice=Max(HighAfterLongEntry-(FirstGrid-OffSet)*MinPoint,Low);;
tmpLots=EveryLots;
SellShort(tmpLots,tmpPrice);
MyRealMp=-1;
LowAfterShortEntry=Low ;
}Else
if (MyRealMp< 0 And -1*MyRealMp <TotalGrids And HighAfterLongEntry-Low>=(FirstGrid+MyRealMp*AddGrid)
*MinPoint)
{tmpPrice=Max(HighAfterLongEntry-(FirstGrid-Abs(MyRealMp*AddGrid)-OffSet)*MinPoint,High);
tmpLots=EveryLots;
SellShort(tmpLots,tmpPrice);
MyRealMp=MyRealMp-1;
}}Else
If (Time>ExitOnCloseMins/100)
{If (MyRealMp>0)
{tmpLots=Abs(MyRealMp*EveryLots);
tmpPrice=Close;
Sell(tmpLots,tmpPrice);
MyRealMp=0;}
If(MyRealMp<0)
{tmpLots=Abs(MyRealMp*EveryLots);
tmpPrice=Close;
BuyToCover(tmpLots,tmpPrice);
MyRealMp=0;
}}
SetGlobalVar(0,MyRealMp);
SetGlobalVar(1,HighAfterLongEntry);
SetGlobalVar(2,LowAfterShortEntry);
Commentary('MyRealMp='+Text(MyRealMp));
Commentary('HighAfterLongEntry='+Text(HighAfterLongEntry));
Commentary('LowAfterShortEntry='+Text(LowAfterShortEntry));
End
 
 
 

[url=http://www.70822.com/soft/sort013/sort083/down-127988.html]TB天财藏金、免费分享天财藏金指标[/url]

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