I will write an advisor free of charge - page 97

 
Good evening, help reanimate owls in the new build opens deals only for SELL, in the build 1090 worked, and the purchase and sale, help pliz!!!
Files:
 
vabank:
Good evening, help me reanimate owls, in the new build only opens deals for SELL, in the build 1090 worked, both buy and sell, help pliz!!!!

why do you have this?

bool MainOrders(int type,double open_price,double price_TP,double price_SL)
  {
   color color_8=Black;
   int bClosed;
   int nAttemptsLeft=Retries;
   int cmd=0;

   if(type ==OP_BUY||type ==OP_BUYSTOP)   cmd=0;
   if(type ==OP_SELL||type ==OP_SELLSTOP) cmd=1;
   if(type==OP_BUYLIMIT || type==OP_BUY)
     {
      color_8=Blue;
        } else {
      if(type==OP_SELLLIMIT || type==OP_SELL)
        {
         color_8=Red;
        }
     }

   double lot=GetLots();

   if(lot==0.0) return(0);


and a compile-time warning

expression not boolean Sniper_EA-Trail.mq4 361 24

you could try changing the last line of the excerpt to

if(lot==0.0) return(false);

 

Greetings all!

Can someone write an indicator for mt5 that signals to alert and push about a volume spike?

Apart from the notification, the volume bar is coloured differently from the main colour provided it is larger than each of the four I have specified in the settings.

And larger by the coefficient specified in the settings for each.

The signal is needed at the moment the conditions are met, without waiting for the bar to close.

 
Good people help who have some free time! I really need an adviser, I think not complicated, I tried to write it myself but I do not have enough knowledge! Alas! The conditions are as follows The advisor reads the opening and closing of the previous candle, and if the candle is a "bear" opens a Sell order, at the opening of the next candle if the candle is also a "bear" does not do anything, it continues if the candle is the same colour. But if the candlestick changes its direction and closes with an opposite, "Bullish" candlestick, the advisor closes the order "Sell" and opens the order "Buy" with the same lot. That is, it reverses! Here everything is the same as soon as again appears "Bearish candle" - again reverses! In the settings window, only the size of the lot - nothing else is needed!There is one EA for my opinion, suitable only need a little tweak!
 
SEMTUM:
Good people help who have some free time! I really need an EA, I think not complicated, I tried to write one myself but I do not have enough knowledge! Alas! The conditions are as follows The advisor reads the opening and closing of the previous candle and if the candle is "bearish" opens a Sell order, at the opening of the next candle if the candle is also "bearish" does not do anything, it continues if the candle is the same colour. But if the candlestick changes its direction and closes with an opposite, "Bullish" candlestick, the advisor closes the order "Sell" and opens the order "Buy" with the same lot. That is, it reverses! Here everything is the same as soon as again appears "Bearish candle" - again reverses! In the settings window, only the size of the lot - nothing else is needed!There is one EA for my opinion, suitable only need a little tweak!

Why do I need to make new topics and duplicate posts?

( Ireally need your help in writing a simple EA! (Opening an order based on a previous candle))

 
Hi all! This is the first time on the forum, don't judge too harshly. Are there any altruists here who still write turkeys advisers for free for the idea, for communism)?
 
tarasonly:
Hi all! First time on the forum, don't judge strictly. Are there any altruists here who still write turkeys advisories for free for the idea, for communism)?

"Turkeys" and "owls" are protected by Greenpeace. How does one write an animal?

 
Vladimir Karputov:

"Turkeys" and "owls" are protected by Greenpeace. How can an animal be written?

We all want to eat, no one cancelled animal instincts) So you need an owl to make money).
 
tarasonly:
We all want to eat, animal instincts have never been abolished) So you need an owl to make money).

An owl is that bird. You should go to the ornithologists' forum.

 
Vladimir Karputov:

An owl is that bird. You should go to the ornithologists' forum.

Are you unhappy with my slang? I can rephrase:"Hello all! This is the first time on the forum, DO NOT judge strictly. Are there any altruists here who still write EAs based on the indicator for free?