Three MultiPair EAs for a Sunday Evening

Locked
Edington55
Posts: 2
Joined: Sun Sep 28, 2014 10:55 am

Three MultiPair EAs for a Sunday Evening

Post by Edington55 »

Hey Jose,
Interesting EAs. Thank you for sharing them. :good:
Best, Edington M
pipstar
Trader
Posts: 29
Joined: Mon Jul 09, 2012 12:33 pm

Three MultiPair EAs for a Sunday Evening

Post by pipstar »

mackaozy » Fri Nov 13, 2015 8:03 pm wrote:Where can I find Msc Casablanca guys?
We are waiting for Jose to post a version of MSC Casablanca without an expiry date.

Regards,
Knut :hi:
jlcgarcia

Three MultiPair EAs for a Sunday Evening

Post by jlcgarcia »

pipstar » Wed Nov 18, 2015 6:25 am wrote:
mackaozy » Fri Nov 13, 2015 8:03 pm wrote:Where can I find Msc Casablanca guys?
We are waiting for Jose to post a version of MSC Casablanca without an expiry date.

Regards,
Knut :hi:

Hi,

Marseille was declared in 2013 the kindest city in the world and also served as the European Capital of Culture for 2013. I was there to see it and testify about it.

Inmediately I fall in love with this city and its Vieux-Port, The Cathedral of Sainte-Marie-Majeure or La Major,The Basilica of Notre-Dame-de-la-Garde, and The Ford Saint-Jean.

As an hommage, I have replaced and modified the old MSC-Casablanca and now it is the new MSC-Marseille, best if used in one 4H chart.

Regards

José Luis


new version in a later post
Last edited by jlcgarcia on Wed Nov 18, 2015 10:02 am, edited 1 time in total.
mackaozy
Trader
Posts: 190
Joined: Sat Mar 17, 2012 1:22 pm

Three MultiPair EAs for a Sunday Evening

Post by mackaozy »

Thank you Jose :D
User avatar
DNTme
Trader
Posts: 36
Joined: Wed Sep 19, 2012 10:37 pm

Three MultiPair EAs for a Sunday Evening

Post by DNTme »

jlcgarcia » Tue Nov 17, 2015 11:34 pm wrote:
pipstar » Wed Nov 18, 2015 6:25 am wrote:
mackaozy » Fri Nov 13, 2015 8:03 pm wrote:Where can I find Msc Casablanca guys?
We are waiting for Jose to post a version of MSC Casablanca without an expiry date.

Regards,
Knut :hi:

Hi,

Marseille was declared in 2013 the kindest city in the world and also served as the European Capital of Culture for 2013. I was there to see it and testify about it.

Inmediately I fall in love with this city and its Vieux-Port, The Cathedral of Sainte-Marie-Majeure or La Major,The Basilica of Notre-Dame-de-la-Garde, and The Ford Saint-Jean.

As an hommage, I have replaced and modified the old MSC-Casablanca and now it is the new MSC-Marseille, best if used in one 4H chart.

Regards

José Luis
:hi:

Hello José,

If you ever come to France -Lyon let me know, i'll be happily guide you here and i will offer you a nice dinner in town, to one of our bouchon's or michelin's.

I'm using your Duck and Kiss (demo)..and so far, so good!!

thank you mate! :hi: your generosity is becoming legendary! :hi:
jlcgarcia

Three MultiPair EAs for a Sunday Evening

Post by jlcgarcia »

DNTme » Wed Nov 18, 2015 11:57 am wrote: :hi:

Hello José,

If you ever come to France -Lyon let me know, i'll be happily guide you here and i will offer you a nice dinner in town, to one of our bouchon's or michelin's.

I'm using your Duck and Kiss (demo)..and so far, so good!!

thank you mate! :hi: your generosity is becoming legendary! :hi:

Hi,

many thanks for your invitation. I will remeber it next time I go to France (perhaps the most beautiful country in the world, and I regret very much the terrorists attacks It is suffering). My best wishes to you and your compatriots.

Returning to the MSC-Marseille I am trading it live and I have found some bugs. Also I am attaching the preset I am using for every 1.000 euros.

Regards


José Luis
You do not have the required permissions to view the files attached to this post.
tcollings
Trader
Posts: 41
Joined: Wed Nov 26, 2014 3:14 am
Location: Melbourne, Australia

Three MultiPair EAs for a Sunday Evening

Post by tcollings »

jlcgarcia » Wed Nov 18, 2015 8:09 pm wrote:
DNTme » Wed Nov 18, 2015 11:57 am wrote: :hi:

Hello José,

If you ever come to France -Lyon let me know, i'll be happily guide you here and i will offer you a nice dinner in town, to one of our bouchon's or michelin's.

I'm using your Duck and Kiss (demo)..and so far, so good!!

thank you mate! :hi: your generosity is becoming legendary! :hi:

Hi,

many thanks for your invitation. I will remeber it next time I go to France (perhaps the most beautiful country in the world, and I regret very much the terrorists attacks It is suffering). My best wishes to you and your compatriots.

Returning to the MSC-Marseille I am trading it live and I have found some bugs. Also I am attaching the preset I am using for every 1.000 euros.

Regards


José Luis

Thank you yet again Jose - much appreciated! :clap:
AnotherBrian

ForexDuck

Post by AnotherBrian »

Trading ForexDuck on demo.
What's the best way to stop new pairs or new series from starting? The intention is to have all orders closed.

I see a few ways to do this but not sure of the best way since I can't see inside the code.

StopTrading = true (does this just prevent new series? new orders? or all trading including closure?)
or
MaxTradingPairs = 0 (what happens if set to 0?)
or
MinMarginLevelForNewSeries=5000 (I think this is the best method)

JL - you know how the EA works inside, what is the best way to accomplish the goal?
jlcgarcia

ForexDuck

Post by jlcgarcia »

AnotherBrian » Wed Nov 18, 2015 6:31 pm wrote:Trading ForexDuck on demo.
What's the best way to stop new pairs or new series from starting? The intention is to have all orders closed.

I see a few ways to do this but not sure of the best way since I can't see inside the code.

StopTrading = true (does this just prevent new series? new orders? or all trading including closure?)
or
MaxTradingPairs = 0 (what happens if set to 0?)
or
MinMarginLevelForNewSeries=5000 (I think this is the best method)

JL - you know how the EA works inside, what is the best way to accomplish the goal?
Hi Brian,

here it is the code for the three situations you mention. If you select Stop Trading there will not be more operations. In the other two cases, there will be more operations if the number of buys or sells is not zero.

Regards


José Luis


Code: Select all

// don't trade...
      if (StopTrading==1) {
         tradingAllowed[i] = false;
      }      
-----------------------------------------------------------------------------------------
// max open-pairs-based filter
      if (MaxTradingPairs>=0 && numTrading>=MaxTradingPairs && openOrders[i]==0) {
         tradingAllowed[i] = false;
      }
----------------------------------------------------------------------------------------------
      // margin filters to avoid overtrading      
      if (marginLevel<MinMarginLevel) {
         tradingAllowed[i] = false;
         Print("Margin level: "+marginLevel);
      }
      if (marginLevel<MinMarginLevelForNewSeries) {
         if (openBuys[i]==0 && buy[i]==true) {
            tradingAllowed[i] = false;
         }
         if (openSells[i]==0 && sell[i]==true) {
            tradingAllowed[i] = false;
         }
      }
AnotherBrian

ForexDuck

Post by AnotherBrian »

jlcgarcia » Wed Nov 18, 2015 1:40 pm wrote:
Hi Brian,

here it is the code for the three situations you mention. If you select Stop Trading there will not be more operations. In the other two cases, there will be more operations if the number of buys or sells is not zero.

Regards

José Luis

Code: Select all

// don't trade...
      if (StopTrading==1) {
         tradingAllowed[i] = false;
      }      
-----------------------------------------------------------------------------------------
// max open-pairs-based filter
      if (MaxTradingPairs>=0 && numTrading>=MaxTradingPairs && openOrders[i]==0) {
         tradingAllowed[i] = false;
      }
----------------------------------------------------------------------------------------------
      // margin filters to avoid overtrading      
      if (marginLevel<MinMarginLevel) {
         tradingAllowed[i] = false;
         Print("Margin level: "+marginLevel);
      }
      if (marginLevel<MinMarginLevelForNewSeries) {
         if (openBuys[i]==0 && buy[i]==true) {
            tradingAllowed[i] = false;
         }
         if (openSells[i]==0 && sell[i]==true) {
            tradingAllowed[i] = false;
         }
      }
Perfect, thanks a ton!
I'll set the MinMargin ForNewSeries to 5000. This should let it run normal with only the currently open pairs.

Here is my demo
I want the equity and balance to come closer together before it goes off trading a new pair. To test the code, I'll use 5000 and wait until everything closes. Then start again with something lower. If this proves to work I might consider a live account.

Edit: This account has 3 bots running. Filter by Magic to see this one. 123456

|
Last edited by AnotherBrian on Mon Nov 23, 2015 1:50 am, edited 1 time in total.
Locked

Return to “Automated trading systems”