Experts: Volume trader

 

Volume trader:

A trading system based on the tick volume of bars.

Author: Vladimir Karputov

 
Automated-Trading:

Volume trader:

Author: Vladimir Karputov

I always want as an option to be able to turn Buy and Sell orders into stop orders...sometimes you need a delay of execution in the form of stop orders....

 
Сергей Криушин:

I always want as an option to be able to turn Buy and Sell orders into stop orders...sometimes you really need a delay in execution in the form of stop orders....

There are no "orders" in this EA.

 
Vladimir Karputov:

There are no "orders" in this EA.

I understand an order is an order to open a position, for example in your code - OpenBuy().... sometimes it is better to be able to set OpenBuyStop() especially now on a hedge...such a switch can probably be invented for each EA....

 
Сергей Криушин:

I understand an order is an order to open a position, for example, in your code - OpenBuy().... sometimes it is better to be able to set OpenBuyStop() especially now on a hedge...such a switch can probably be invented for each EA....

 

Dear Sir, Thankuo very nuch for your code, I am using It an it's very poewrfull , would be possible exemplain to me the logic

in order to take profit .


kindest regard, Fabio

 
Fabio Carlucci:

Dear Sir, Thankuo very nuch for your code, I am using It an it's very poewrfull , would be possible exemplain to me the logic

in order to take profit .


kindest regard, Fabio

The EA only operates when a new bar appears: It compares the tick volumes of the first and the second bar. Block for making decisions:

//---
   if(array_volume[1]>array_volume[2])
     {
      ClosePositions(POSITION_TYPE_SELL);
      OpenBuy();
     }

   if(array_volume[1]<array_volume[2])
     {
      ClosePositions(POSITION_TYPE_BUY);
      OpenSell();
     }
 

The thinking is good, but it would complement the breakout candles and one more moving media confirmation to 21 for the direction above the media is buy (if the price is below the media it is sell). Just like you did, it's a real failure, it didn't have a positive result in any time frame on EUR USD.

you are a good programmer, but you don't test the result of your robots.

We need good strategies in the robots, but that produce great financial results.

 
Does the robot differentiate between purchase and sale volume?