Simple 30 Min System!

Hi There,

I have backtested this system, and it’s cool really.
My problem is that it can only execute 1 currency pair at a time eventhough indicators are met with the other currency pairs. I want to execute this simultaneously on different pairs.
I tried to modify the OrdersTotal<1 to a value more than 1 (e.g OrdersTotal<3…) but it only duplicates the current open pair.

Help pls! I don’t know much about programming.

Thanks & regards to everyone.

Olpo

Hello Olpo,

  Be sure to change the magic number on each chart.

I suggest changing it by multiples of 10.

That should allow you to run the EA on multiple charts and/or TimeFrames

Happy Hunting :slight_smile:

made 57pips in 5 trades no loss, trading time 13:00 - 14:00 UK time,.

thank you polishpips for posting,… :slight_smile:

Thanks for the hint. I’ ve made it work.:slight_smile:

Hi, I’m a new trader but I have a basic understanding of programming. It seems to me as if the latest ea version of this system makes all orders exit after gaining 40 pips. Looking back in the thread, it seems to me that only condition 2 orders (MACD agrees with the moving average crossover) have a set takeprofit level. Please correct me if I’m mistaken but the exit parameter for all types of orders is either when the moving averages cross over in the opposite direction or a loss of 30 pips whichever comes first. I’ve been playing around with the code and made it so that some orders would exit because of the moving average crossover before going so far as to hit the stoploss.

here is what I have so far in the exit section of the code

if(OrderType()==OP_BUY) // long position
{
if(OrderMagicNumber() == MagicNumber + 1 && Bid - OrderOpenPrice() >= TakeProfitNum) // long position is opened with Scen. #2
{
OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet); // close position
return(0); // exit

             }
        // should it be closed?
        else if(ShortEmaCurrent &lt; LongEmaCurrent && ShortEmaPrevious &gt; LongEmaPrevious)
        {
             OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet); // close position
             return(0); // exit
        }
     }
     
     else if(OrderType()==OP_SELL)   // short position
     {
     if(OrderMagicNumber() == MagicNumber + 1 && OrderOpenPrice() - Ask &gt;= TakeProfitNum)
     {
        OrderClose(OrderTicket(),OrderLots(),Ask,3,Violet); //close position
     }
        // should it be closed?
        if(ShortEmaCurrent &gt; LongEmaCurrent && ShortEmaPrevious &lt; LongEmaPrevious)
        {
             OrderClose(OrderTicket(),OrderLots(),Ask,3,Violet); // close position
             return(0); // exit
        }
     }

Good to see you martin. I hope all is going well for you.

I have been trading candle signals, pivot points and momentum/breakouts and been quite successful on DEMO and using one mini lot for live testing. Almost ready to get more aggressive.

How have you been?

Welcome back, Martin. I just grabbed 40 pips using your system. :slight_smile:

Hi Polishpip,

hope you are well and your accounts growing…

How is the above mentioned swingtrading system doing?

Thanks

baby24

Hi Martin, i am a newbie . I am using your system at demo account. Its working nicely… Thanks a lot ! I really wonder how much money u are making daily… .!! Great job…!

Im still using Demo ac. Today i banked 60+ pips at EUR/USD and 50+ at GBP/USD.

I have also looked at the GBP/JPY and Euro/JPY chart . They also followed your system nicely.

I think USD, EURO, GBP, Euro are following your system perfectly. What do you say?

Its really one of the best fx systems. Thanks

This looks a great strat. Well done on this, I’m testing this on a demo account.

I’m still reading through this thread but so far all looks good.

Will keep you updated on how testing goes :slight_smile:

I am a newbie here can you tell me where is the system file for this system???

Look at post #1 on this thread :slight_smile:

Hi guys, I can’t attach this indicator to my chart. I double click and also right click and choose attach but nothing is happening :frowning:

Any ideas?

very nice, I’m trying today. Thanks. For further information I need your help in details.


I use a similar system , pic should be attached…

Hi everybody,

I know this thread is old, but I’ve tried to use the expert advisor with MT4 but it’s not working. Tried backtesting with the strategy tester, but the expert adviser doesn’t open positions…
I tried to compile it with the Meta Editor but there I’m getting some warning, f.e. return value of OrderSelect should be checked or return value of OrderClose should be checked…

for(cnt=0;cnt<total;cnt++)
{
OrderSelect(cnt, SELECT_BY_POS, MODE_TRADES);
if(OrderType()<=OP_SELL && // check for opened position
OrderSymbol()==Symbol()) // check for symbol
{

if(ShortEmaCurrent < LongEmaCurrent && ShortEmaPrevious > LongEmaPrevious)
{
OrderClose(OrderTicket(),OrderLots(),Bid,3,Violet); // close position
return(0); // exit
}

I think thats the problem why it’s not open positions.
Would be nice if someone could help.

Have a nice day!

Best regards
Marcel

If you post in the MT4 forums you might get help faster!

I would though, like it if you will be posting your backtesting results with us, in this thread when you succeed. Will you do that please ?

Do you perse wait until the line cross eachother