Author: Aleksandr Bryzgalov
0 Views
0 Downloads
0 Favorites
LinkSignal
ÿþ//+------------------------------------------------------------------+

//|                                                   LinkSignal.mq4 |

//|                                              Aleksandr Bryzgalov |

//|                                                 http://sn-bot.ru |

//+------------------------------------------------------------------+

#property copyright "Aleksandr Bryzgalov"

#property link      "http://sn-bot.ru"

#property version   "1.00"

#property strict



extern int mode=1;//B8? AG5B0: 0-@50;L=K9 AG5B, 1-45<>-AG5B

//+------------------------------------------------------------------+

//| Script program start function                                    |

//+------------------------------------------------------------------+

void OnStart()

  {

//---

   if(mode>1||mode<0)mode=0;

   int total=SignalBaseTotal();

   //Comment(total);

   int real=0,demo=0,real1=0,demo1=0,konkurs=0;

   string s="";

   for(int i=total-1;i>=0;i--)

   {

      long id_sig=SignalBaseSelect(i);

      if(SignalBaseGetInteger(SIGNAL_BASE_SUBSCRIBERS)>0&&SignalBaseGetInteger(SIGNAL_BASE_TRADE_MODE)==1)

      {

         Print("https://www.mql5.com/ru/signals/",SignalBaseGetInteger(SIGNAL_BASE_ID),

               ",  Drawdown: ",SignalBaseGetDouble(SIGNAL_BASE_MAX_DRAWDOWN),

               ", Profit: ",SignalBaseGetDouble(SIGNAL_BASE_GAIN),

               ", >;8G5AB2> A45;>:: ", SignalBaseGetInteger(SIGNAL_BASE_TRADES),

               ",  59B8=3: ",SignalBaseGetInteger( SIGNAL_BASE_RATING));

      }

   }

   //Comment(" total: ", total,"\n real: ",real,"\n demo: ",demo,"\n profit real: ",real1,"\n profit demo: ",demo1,"\n konkurs: ",konkurs);

  }

//+------------------------------------------------------------------+

Comments