4评论

0收藏

反剥头皮10点差-EA

avatar 瑞子 | 1791 人阅读 | 4 人评论 | 2023-05-28

#property link      ""
#property version   "1.00"
#property strict
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+

//extern int    MinPrfofit   = 1;//
extern int    MinProfit   = 1;//最小止盈点
extern int    MaxLoss      = 10;//MaxLoss:最大止损
extern int    Delta        = 3;//Delta:希腊字母δ(得塔)
extern int    BB_Period    = 1;//BB_Period:布林线(Bollinger Bands)周期
extern int    BB_Deviation = 2;//BB_Deviation:布林线(Bollinger Bands)背离;偏离;违背;偏差
extern bool   FixLotMM     = FALSE;//FixLotMM:是否固定份额
extern double FixLotSize   = 0.1;//FixLotSize:固定份额的值
extern double RiskPercent  = 10.0;//RiskPercent:风险百分比
extern int    Slippage     = 2;//Slippage:最大允许滑点数
extern string Comm         = "Mathematical_Analysis";

int    MagicNum;
double StopPoint, Spread, LotStep, Lots, Lots1, MaxLot, MinLot;
/**
   设置基准点值
*/
double SetPoint()
{
  double PricePoint;

  if (Digits == 3)
    PricePoint = 0.01;
  else if (Digits == 5)
  {
      PricePoint = 0.0001;
  }
  else
  {
      PricePoint = Point;
  }
  return(PricePoint);
}


""
还没有人打赏,支持一下

评论|共 4 个

三少无名

发表于 2023-5-28 14:46:47 | 显示全部楼层

学习

品雨

发表于 2023-8-7 13:15:40 | 显示全部楼层

tzef

发表于 2024-1-6 11:30:18 | 显示全部楼层

追求卓越

发表于 2024-3-7 22:02:38 | 显示全部楼层

谢谢

您需要登录后才可以回帖 登录 | 注册 微信登录

EA之家评论守则