• 概述
  • 评论
  • 评论

Figures MACD

顾问数据说明MACD
打开MACD指标波动的订单。关闭MACD指标波动的订单。




默认值。


extern double TakeProfit = 500;
extern double StopLoss = 500;
extern double externalLots = 0.01;
extern double TrailingStop = 10000;
extern bool isAutoMoneyManagmentEnabled = false;
extern int moneyManagement4And8Or12And24_4_Or_12 = 12;
extern double TrailingFiboLevel = 0.236;
extern double maxOrders = 30;
extern double riskOnOneOrderPercent = 2;
extern bool limitSinglePositionOnOpenOnHalfWaves = false; //
extern bool OpenOnHalfWaveUp_M1 = false;
extern bool OpenOnHalfWaveUp_M5 = false;
extern bool OpenOnHalfWaveUp_M15 = false;
extern bool OpenOnHalfWaveDown_M1 = false;
extern bool OpenOnHalfWaveDown_M5 = false;
extern bool OpenOnHalfWaveDown_M15 = false;
extern bool m15_TL_Rebound_MarketPlay_Enabled = true;
extern int relativeAmplitudePointsGlobal = 333;
extern bool CloseOnHalfWaveDown_M1 = false;
extern bool CloseOnHalfWaveDown_M5 = false;
extern bool CloseOnHalfWaveDown_M15 = false;
extern bool CloseOnHalfWaveUp_M1 = false;
extern bool CloseOnHalfWaveUp_M5 = false;
extern bool CloseOnHalfWaveUp_M15 = false;



保留默认属性值
TakeProfit和StopLoss开仓
extern double TakeProfit = 500;
extern double StopLoss = 500;

基于Metatrader的尾随(10000  - 无)

extern double externalLots = 0.01;

基于顾问的追踪,想象Fibo加价,其中100是开盘价,0是当前价格,只处理盈利价值,(0.236-在23.6 Fibo的水平0.236水平; 38.2; 50; 61.8; 76, 4,分别或0到1的任何值)

extern double TrailingStop = 10000;

当MACD指标越过零线时,实际上在MACD指标波的末尾打开一个仓位,为一个波打开一个订单,为第二个波打开另一个订单,如果选择了几个时间帧,则在每个时间帧上为每个完成的波打开一个订单。

买入仓位
extern bool OpenOnHalfWaveUp_M1 = false;

extern bool OpenOnHalfWaveUp_M5 = false;

extern bool OpenOnHalfWaveUp_M15 = false;

卖出头寸
extern bool OpenOnHalfWaveDown_M1 = false;

extern bool OpenOnHalfWaveDown_M5 = false;

extern bool OpenOnHalfWaveDown_M15 = false;


事实上,根据MACD指标Wave的结束,MACD越过零线指标时平仓。所有职位都被关闭。
买入头寸正在关闭
extern bool CloseOnHalfWaveDown_M1 = false;

extern bool CloseOnHalfWaveDown_M5 = false;

extern bool CloseOnHalfWaveDown_M15 = false;

卖出仓位关闭
extern bool CloseOnHalfWaveUp_M1 = false;
extern bool CloseOnHalfWaveUp_M5 = false;
extern bool CloseOnHalfWaveUp_M15 = false;

无评论