stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Three MultiPair EAs for a Sunday Evening
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4448
Page 28 of 46
Author:  Edington55 [ Tue Nov 17, 2015 6:16 pm ]
Post subject:  Three MultiPair EAs for a Sunday Evening

Hey Jose,
Interesting EAs. Thank you for sharing them. :good:
Best, Edington M
Author:  pipstar [ Wed Nov 18, 2015 4:25 am ]
Post subject:  Three MultiPair EAs for a Sunday Evening

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:
Author:  jlcgarcia [ Wed Nov 18, 2015 7:34 am ]
Post subject:  Three MultiPair EAs for a Sunday Evening

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
Author:  mackaozy [ Wed Nov 18, 2015 7:48 am ]
Post subject:  Three MultiPair EAs for a Sunday Evening

Thank you Jose :D
Author:  DNTme [ Wed Nov 18, 2015 9:57 am ]
Post subject:  Three MultiPair EAs for a Sunday Evening

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:
Author:  jlcgarcia [ Wed Nov 18, 2015 10:09 am ]
Post subject:  Three MultiPair EAs for a Sunday Evening

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
Author:  tcollings [ Wed Nov 18, 2015 10:25 am ]
Post subject:  Three MultiPair EAs for a Sunday Evening

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:
Author:  AnotherBrian [ Wed Nov 18, 2015 4:31 pm ]
Post subject:  ForexDuck

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?
Author:  jlcgarcia [ Wed Nov 18, 2015 6:40 pm ]
Post subject:  ForexDuck

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;
         }
      }
Author:  AnotherBrian [ Wed Nov 18, 2015 7:25 pm ]
Post subject:  ForexDuck

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

|
All times are UTC Page 28 of 46