読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

EA not creating orders

5件の返信

FRFXTB

カスタマー、bbp_participant、コミュニティ、5件の返信。.

プロフィールを表示

9年前 #116241

Hi All

Testing the tool. No EA created with SQ is creating orders in a MT4 demo account. The message always  is “invalid trade parameters”. any advice, please?

ありがとう

0

マーク・フリック

管理者、sq-ultimate、2件の返信.

プロフィールを表示

9年前 #141198

very probably the problem is in size parameter. Please check what is the size of the sent order, if it isn’t smaller than the minimum allowed size by your broker. For example EA can try to trade with microlots while your broker allows only minilots.

You can also configure decimal rounding of the size, if you’ll set it to 1 decimal place it should work wit any broker.

マーク
StrategyQuantアーキテクト

0

FRFXTB

カスタマー、bbp_participant、コミュニティ、5件の返信。.

プロフィールを表示

9年前 #141200

Thanks Marc

Unfortunately it didn´t work. Please find here bellow the ea text from the order setting parameters and bellow the broker symbol conditions. I would appreciate the advice. Thanks

#property copyright “strategyquant.com”
#property link      “https://strategyquant.com”
//+——————————————————————+
// — SL/PT Parameters
//+——————————————————————+
extern string __s2 = “—–  SL/PT Parameters  ———————-“;
// this is the minimum and maximum value for PT & SL used,
// any bigger or smaller value will be capped to this range
extern double MinimumSLPT = 30;
extern double MaximumSLPT = 300;
//+——————————————————————+
// — Money Management Parameters
//+——————————————————————+
extern string __s6 = “—–  Money Management Parameters  ———–“;
extern bool UseMoneyManagement = false;
extern double Lots = 1;
extern int LotsDecimals = 1;
extern double RiskInPercent = 2.0;
extern double MaximumLots = 0.5;
extern bool UseFixedMoney = false;
extern double RiskInMoney = 100.0;
//+——————————————————————+
// — Trading Logic Settings
//+——————————————————————+
extern string __s7 = “—–  Trading Logic Settings  —————-“;
extern int MaxTradesPerDay = 0; // 0 means unlimited
extern bool ReplacePendingOrders = true;
extern bool LimitSignalsToRange = false;
extern string TimeRangeFrom = “08:00”;
extern string TimeRangeTo = “16:00”;
extern bool ExitAtEndOfRange = false;
extern bool ExitAtEndOfDay = false;
extern string ExitTimeEOD = “00:00”;
extern bool ExitOnFriday = false;
extern string ExitTimeOnFriday = “00:00”;
extern bool TradeLong = true;
extern bool TradeShort = true;
//+——————————————————————+
// — Trading Date Parameters
//+——————————————————————+
extern string __s8 = “—–  Trading Date Parameters  —————“;
extern bool TradeSunday = true;
extern bool TradeMonday = true;
extern bool TradeTuesday = true;
extern bool TradeWednesday = true;
extern bool TradeThursday = true;
extern bool TradeFriday = true;
extern bool TradeSaturday = true;
//+——————————————————————+
// — Other Parameters
//+——————————————————————+
extern string __s9 = “—–  Other Parameters  ———————-“;
extern int MaxSlippage = 3;
extern string CustomComment = “26_01_2017Strategy 0.577398”;
extern int MagicNumber = 12345;
extern bool EmailNotificationOnTrade = false;
extern bool DisplayInfoPanel = true;
//+——————————————————————+
// — Other Hidden Parameters
//+——————————————————————+
int MinDistanceOfStopFromPrice = 5.0;
double gPointPow = 0;
double gPointCoef = 0;
double gbSpread = 2.5;
double brokerStopDifference = 0;
string eaStopDifference = “aaa”;
double eaStopDifferenceNumber = 0;
int lastHistoryPosChecked = 0;
int lastHistoryPosCheckedNT = 0;
string currentTime = “bbb”;
string lastTime = “ccc”;
bool tradingRangeReverted = false;
string sqLastPeriod;
bool sqIsBarOpen;
int LabelCorner = 1;
int OffsetHorizontal = 5;
int OffsetVertical = 20;
color LabelColor = White;
int lastDeletedOrderTicket = -1;
bool rettmp;
/**
 * add your own parameters that will be included in every EA
 * into file /code/CustomParametersMT4.mq4
 */
//extern bool TradeOnHour1 = true;
Broker specification for the symbol:
MT_zpscafilpi0.png

0

FRFXTB

カスタマー、bbp_participant、コミュニティ、5件の返信。.

プロフィールを表示

9年前 #141201

solved, I did not have an indicator charged

0

マビ

Customer、bbp_participant、community、sq-ultimate、252件の返信。.

プロフィールを表示

9年前 #141552

🙂

0

4件の返信を表示中 - 1 - 4件目 (全4件中)