Interesting EAs. Thank you for sharing them.
Best, Edington M
We are waiting for Jose to post a version of MSC Casablanca without an expiry date.mackaozy » Fri Nov 13, 2015 8:03 pm wrote:Where can I find Msc Casablanca guys?
pipstar » Wed Nov 18, 2015 6:25 am wrote:We are waiting for Jose to post a version of MSC Casablanca without an expiry date.mackaozy » Fri Nov 13, 2015 8:03 pm wrote:Where can I find Msc Casablanca guys?
Regards,
Knut :hi:
:hi:jlcgarcia » Tue Nov 17, 2015 11:34 pm wrote:pipstar » Wed Nov 18, 2015 6:25 am wrote:We are waiting for Jose to post a version of MSC Casablanca without an expiry date.mackaozy » Fri Nov 13, 2015 8:03 pm wrote:Where can I find Msc Casablanca guys?
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
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:
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
Hi Brian,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?
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!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; } }