You just put it on 1 5m chart only
In the settings, enable the pairs you want to trade and the pairs you want to use to calculate the currency strengths.
It is 100% automated trading.
This will be a revolutionary EA one day, when fine tuned!
That's probably one of the most generous contributions to this community.
This will be a revolutionary EA one day, when fine tuned!
That's probably one of the most generous contributions to this community.
Interesting EA really.
Can you explain some more about the parameters? Specifically the ones having to do with money management.
I also have the impression it does only trade one pair at a time, but can't find a parm that seems relevant.
Thanks anyway.
EDIT: O I forgot I can see the code :-)
void openPosition(){ if( !DayOfWeek() == 0 && DayOfWeek != 5 ){ if( ( int ) TimeCurrent() - preventDuplicates > 20 ){ preventDuplicates = ( int ) TimeCurrent(); if( ( ( totalAccountTrades < MaxTrades && avgOpenTime < LongTimeSeconds ) || ( totalAccountTrades < ExtraTrades && avgOpenTime > LongTimeSeconds ) ) && ( totalAccountLoosers == totalAccountTrades || totalAccountTrades < StarterTrades ) && ( int ) TimeCurrent() - initTime > 20 ){ for( int s = 0; s < generalArrayCount; s++ ) { bool isEnabled = pairIsEnabled( sym[s] ); bool isTradable = pairIsTradable( sym[s] ); if( isEnabled && isTradable && totalTradesArray[s] == 0 ){ if( ( int ) TimeCurrent() - lastTradeTimeArray[s] > TradeTimeSeconds ){ double bid = ( double ) MarketInfo( sym[s], MODE_BID ); double ask = ( double ) MarketInfo( sym[s], MODE_ASK ); if( openBuyPositionArray[s] || openBuyPositionScalpingArray[s] ){ if( AccountFreeMarginCheck( sym[s], OP_BUY, lotSize ) <= 0 || GetLastError() == 134 ) return; r = OrderSend( sym[s], OP_BUY, lotSize, ask, ( int ) slippage, 0, 0, signalCommentArray[s], MAGIC ); if( !r ) Print( "71. Error in OrderSend. Error code=", GetLastError() ); else lastTradeTimeArray[s] = ( int ) TimeCurrent(); tempTotalTrades++; break; } else if( openSellPositionArray[s] || openSellPositionScalpingArray[s] ){ if( AccountFreeMarginCheck( sym[s], OP_SELL, lotSize ) <= 0 || GetLastError() == 134 ) return; r = OrderSend( sym[s], OP_SELL, lotSize, bid, ( int ) slippage, 0, 0, signalCommentArray[s], MAGIC ); if( !r ) Print( "89. Error in OrderSend. Error code=", GetLastError() ); else lastTradeTimeArray[s] = ( int ) TimeCurrent(); tempTotalTrades++; break; } } } } } } } }

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
CSPA 1.43:
Author: Trevor Schuil