瑞子 发表于 2023-5-28 13:24:36

反剥头皮10点差-EA

#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);
}


三少无名 发表于 2023-5-28 14:46:47

学习

品雨 发表于 2023-8-7 13:15:40

{:1_180:}

tzef 发表于 2024-1-6 11:30:18

{:1_180:}

追求卓越 发表于 2024-3-7 22:02:38

谢谢

汇银 发表于 2025-3-30 23:17:40

支持下
页: [1]
查看完整版本: 反剥头皮10点差-EA