learn how to earn money villagers [Episode 2] ! - page 351

 
elmucon:

Here's what I did last night, let's see what happens.

Three orders, all in the black.

the last one closed because the canadian went against the grain

The eurik's on the way down.

In short - the robot is trading the euro looking at AUD, NZD,CAD, JPY - it's not looking at the eurik...

In the tester it looks like this


It's not just the Canadian going against the grain, the New Zealander and the Aussie too.
 
khorosh:
It's not just the Canadian that has gone against the grain, the New Zealander and the Aussie too.

No - not so - the change in the signal happened in the circle shown on the screenshot

In fact, the Canadian went against the grain in the middle of the day - had to go down ...



By the way - the situation has changed - probably the next bar at 10-00 Moscow the robot will buy the euro ...


yyyy


It will probably first pullback on a bar or maybe two and then sell upwards (I think so)


ooo

 
elmucon:

No - it did not - the change in the signal happened in the circle shown on the screenshot

In fact, the Canadian went against the grain in the middle of the day - had to go down ...



By the way - the situation has changed - probably the next bar at 10-00 Moscow the robot will buy the euro ...



The robot will probably first pullback on a bar or maybe two, but then sell up (I think so)



Interesting machine.) Let's see how much time it has to earn. At the time of doubling the deposit will you withdraw?
 
khorosh:
Interesting machine.) Let's see how much time it has to earn. When doubling the deposit will you withdraw it?

so it's a demo )))))))))

and so no - only 1000% - then withdrawal of half ....

 
elmucon:

so it's a demo )))))))))

but it's not - only 1000% - then withdraw half ....

My bad, I wasn't paying attention).
 

There's a danger - the Canadian is going against the grain again and won't let the eurik go higher

Watch the canadian - if it goes down, the eurik will shoot up,

if it crosses upwards it is at least the end of today's move for the eurik upwards...

1445

 

In general, the robot closed as the signal is lost - further movement is not known - the Japanese are asleep - does not react ...

To sell the euro wait for the Japanese to start moving up ...

To buy the euro wait for the Canadian to move down ...

trt

 

Signal part of this robot - try it in your EAs

// +----------------------------------------------------------------------+
// входные параметры                                                      |
// +----------------------------------------------------------------------+
      input int MA               = 20;             // Периуд MA
      input int Sdvig            = 0;              // Cдвиг MA
// +----------------------------------------------------------------------+
// функция направления торговли                                           |
// +----------------------------------------------------------------------+    
int CheckSig(){
    int l_dn = 0, l_up = 0;
    int BarShift_AUDUSD, BarShift_NZDUSD, BarShift_USDCAD, BarShift_USDJPY;
    BarShift_AUDUSD = iBarShift("AUDUSD",0,Time[1],true); if(BarShift_AUDUSD <= 0) return(2);
    BarShift_NZDUSD = iBarShift("NZDUSD",0,Time[1],true); if(BarShift_NZDUSD <= 0) return(2);
    BarShift_USDCAD = iBarShift("USDCAD",0,Time[1],true); if(BarShift_USDCAD <= 0) return(2);
    BarShift_USDJPY = iBarShift("USDJPY",0,Time[1],true); if(BarShift_USDJPY <= 0) return(2);
    if(iClose("AUDUSD",0,BarShift_AUDUSD) > iMA("AUDUSD",0,MA,Sdvig,MODE_SMA,PRICE_CLOSE,BarShift_AUDUSD)) l_up ++;
    if(iClose("AUDUSD",0,BarShift_AUDUSD) < iMA("AUDUSD",0,MA,Sdvig,MODE_SMA,PRICE_CLOSE,BarShift_AUDUSD)) l_dn ++;
    if(iClose("NZDUSD",0,BarShift_NZDUSD) > iMA("NZDUSD",0,MA,Sdvig,MODE_SMA,PRICE_CLOSE,BarShift_NZDUSD)) l_up ++;
    if(iClose("NZDUSD",0,BarShift_NZDUSD) < iMA("NZDUSD",0,MA,Sdvig,MODE_SMA,PRICE_CLOSE,BarShift_NZDUSD)) l_dn ++;
    if(iClose("USDCAD",0,BarShift_USDCAD) < iMA("USDCAD",0,MA,Sdvig,MODE_SMA,PRICE_CLOSE,BarShift_USDCAD)) l_up ++;
    if(iClose("USDCAD",0,BarShift_USDCAD) > iMA("USDCAD",0,MA,Sdvig,MODE_SMA,PRICE_CLOSE,BarShift_USDCAD)) l_dn ++;
    if(iClose("USDJPY",0,BarShift_USDJPY) < iMA("USDJPY",0,MA,Sdvig,MODE_SMA,PRICE_CLOSE,BarShift_USDJPY)) l_up ++;
    if(iClose("USDJPY",0,BarShift_USDJPY) > iMA("USDJPY",0,MA,Sdvig,MODE_SMA,PRICE_CLOSE,BarShift_USDJPY)) l_dn ++;
    if(l_up == 4)return( 1);
    if(l_dn == 4)return(-1); 
return(0);
}
// +----------------------------------------------------------------------+

The function returns 1 to buy euro, -1 to sell, 0 if there is no signal. and 2 if there is an error in chart synchronization...

 
elmucon:

Signal part of this robot - try it in your EAs

The function returns 1 to buy euro, -1 to sell, 0 if there is no signal. and 2 if there is an error in chart synchronization ...

Great!
 
elmucon:

Signal part of this robot - try it in your EAs

The function returns 1 to buy euro, -1 to sell, 0 if there is no signal. and 2 if there is an error in chart synchronization ...

Thanks, I will try it.
Reason: