Reply

Selling SQ strategy in MQL site

7 replies

daveng

Customer, bbp_participant, community, 93 replies.

Visit profile

8 years ago #115511

I am just curious to know if anyone here had success in uploading SQ strategy for selling in Mql site?
I know before you can start selling in Mql, your strategy will undergo a stringent check by Mql administrators who will easily reject your product if there’s any errors (even minor ones) in your journal.
They will scrutinized your input parameters by testing with illogical numbers to ensure your strategy doesn’t produce any unnecessary errors during backtesting.
Hence I would like to know how “Mql friendly” is an SQ generated strategy when comes to uploading it for selling in Mql.
Will it easily passed thru Mql checks? Or would it easily get rejected by Mql?

0

stearno

Customer, bbp_participant, community, 379 replies.

Visit profile

8 years ago #139141

I have not done it. I suggest you try it. Can’t hurt anything. Not like your strategy would be blacklisted and cannot be resubmitted.

Sent from my HUAWEI VNS-L21 using Tapatalk

0

mikeyc

Customer, bbp_participant, community, 877 replies.

Visit profile

8 years ago #139142

I have done it.  The code generated by SQ will not be accepted as is.  The main stumbling block is it tries to submit trades even if there’s not enough margin (and MT4 displays the ERR_NOT_ENOUGH_MONEY error). 

 

There are some other issues too, I can’t remember them all now, but you will have to extend some of the trading functions to meet the acceptance.

0

daveng

Customer, bbp_participant, community, 93 replies.

Visit profile

8 years ago #139144

I have done it.  The code generated by SQ will not be accepted as is.  The main stumbling block is it tries to submit trades even if there’s not enough margin (and MT4 displays the ERR_NOT_ENOUGH_MONEY error). 

 

There are some other issues too, I can’t remember them all now, but you will have to extend some of the trading functions to meet the acceptance.

Thought so…they expect you to include proactive detection of low margin, invalid parameters, etc before calling the send order command.

Basically they expect you to put in as many checks as possible before allowing your product to be published.

So looks like the ‘default’ SQ codes will need some manual ‘polishing’ before you can publish a product.

0

atohm

Customer, community, sq-ultimate, bbp_participant, 7 replies.

Visit profile

8 years ago #139146

I have on mql5 29 products. You need fix this error ERR_NOT_ENOUGH_MONEY and you must add #property strict

 

there is code:

 

   if(AccountFreeMarginCheck(Symbol(),OP_BUY,Lots)<=0 || GetLastError()==134) {
      Alert(“Balance too low for trading!”);
      return(134);
   }

 

 

good luck

I'm an enthusiastic content creator with a passion for automated trading strategies (ATS). My love for ATS began in 2011, and I've been honing my skills ever since. In 2013, I built my own ATS and later discovered StrategyQuant, a remarkable tool that allows anyone to create ATS without any programming expertise.

I'm also the proud creator of QuantMonitor.net, a unique platform monitoring tool that simplifies your trading experience. My trading dashboard comes with additional tools like the rename tool and EA deployer, making it a breeze to rename and deploy up to 99 strategies in mere clicks.

Join me on this exciting journey as we explore the endless possibilities of automated trading strategies together! ????

0

daveng

Customer, bbp_participant, community, 93 replies.

Visit profile

8 years ago #139147

I have on mql5 29 products. You need fix this error ERR_NOT_ENOUGH_MONEY and you must add #property strict
 
there is code:
 
   if(AccountFreeMarginCheck(Symbol(),OP_BUY,Lots)<=0 || GetLastError()==134) {
      Alert(“Balance too low for trading!”);
      return(134);
   }
 
 
good luck

I haven’t tried yet, just want to survey around to hear from people who have published before SQ strategy.
Yep I have the code for checking margin. You also need to define the check function as a Boolean so as to not trigger the OrderSend command when margin is low.
As for #property strict, you are right, I also noticed SQ source codes omitted this. Nowadays when you create EA from scratch, it usually has #property strict included.

0

fabs

Subscriber, bbp_participant, community, 0 replies.

Visit profile

6 years ago #241144

I have on mql5 29 products. You need fix this error ERR_NOT_ENOUGH_MONEY and you must add #property strict there is code: if(AccountFreeMarginCheck(Symbol(),OP_BUY,Lots)<=0 || GetLastError()==134) { Alert(“Balance too low for trading!”); return(134); } good luck

Anyone know at which line to include it or how to make it works?

Best Regard

0

Tomas Vanek

Administrator, bbp_moderator, sq-ultimate, 21 replies.

Visit profile

4 years ago #269359

Hi, now SQ X ULTIMATE supports export for MQL 5 Market. You do not need to know programming knowledge to sell your strategies on MQL 5 Market.

Tomas Vanek, founder of QuantMonitor.net, is a visionary in automated trading. Driven by a passion for efficiency in finance and data, he created QuantMonitor.net to offer robust Algo Trading solutions, simplifying trading strategy building, management for traders of all levels with advanced templates and tools.

0

ivan

Subscriber, bbp_participant, community, 236 replies.

Visit profile

4 years ago #269383

if the strategy has some performance, you can also let others to copy your trades in exchange of some percentage

i cant exactly evaluate or compare the two options but its possible you could earn more this way, than selling the strategy on MQL market

main issue is how good is the strategy, if its weak, almost no one will buy it

Timisoara, Romania
3900X 3.8 Ghz 12 cores, 64GB RAM DDR4 3000Mhz, Samsung 970 EVO Plus M.2 NVMe

0

Viewing 8 replies - 1 through 8 (of 8 total)