Last idea (((. - page 2

 
Michelangelo >>:

а ты уверен что накапает... написать то рас плюнуть... а вот отладить - стоит денег... я тебе написал один, что не капает? а ты ручками ручками поторгуй... по записывай где прав, где нет... и потом уже ТЗ пиши... алгоритм поведения на рынке за пару дней не составишь... как тока ручками заработаешь, так и приходи... "вот мол господа програмеры вам кучка денег кто готов потратить 15-20 минут своего времени на переклад такого алгоритма на язык MQL... ?"

а так - это баловство одно...


If you have a turkey that brings eggs, it would not exist on the web.

And then let's correct it here and so on to infinity, if the turkey would bring eggs, it would not be in the internet!!!!

 
Pyxlik2009 писал(а) >> Guys, one last plea for help.

Is it that bad? )))
 
Mer495 >>:


ручками у всех всегда все в прибыли, там сердце поправляет, а как в тс так рано или позно слив.

А потом давай здесь поправим и так до бесканечности, если бы индюк бы яйца приносил, его бы в инете не было!!!!

don't agree with you... a precisely calibrated ts is just as good on the mat model and works even better than with my hands... :)

that's my imho...

I've had a friend explaining to me for a fortnight how he covers loki... until he didn't get it himself, he was winging at a loss, so to speak, with his heart... :) but when he figured it out, he did a better job than the mate... :)

and anyway... a properly written ToR (algorithm) is 90% of the work!!!

 
LeoV >>:

Что, всё так плёхо? )))

No hands, but it just all looks bleak, I mean I have no time, I'm studying forex, and I'm busy and hungry too.
 
Pyxlik2009 >>:

руками нет но просто это все выглядит удручающи, тоесть у меня времени нет, учеба форекс, а дел полно и есть тоже хочется.
That's the key phrase... and we're just fooling around, drinking beer... Chubby... 10 quid won't hurt you, and it's good for me... remember your wallet? :)
 

If you go to the database, look for an Expert Advisor to break the parabolic - it's your arrows and lines of red and blue.

Take it away so there are probably 20 versions to choose from :)

 
baltik >>:

Зайдив коде базе найди советник на пробой параболика - это твои стрелки и линии красная с синей

вое забирай так штук 20 наверное версий есть на выбор :)


OK, for 10 quid I'll do it.
 
Pyxlik2009 писал(а) >>

ok for 10 quid i'll take it


Take it, it's for charity.

Forex Profit System

JS.ma.paraboliks.Trades

FT_Scalp Parabolic MM

SAR RSI MTS

 
Pyxlik2009 >>:

ок за 10 баксов я согласен
throw it... I'll do it in the morning when I get there... Z401291341083
 

I just got tired of asking someone to write it, and I understand that not everyone has time, and not everyone wants to spend it on crazy ideas.

So I decompiled the indicator: looked through all the materials, read it and realized that I should take it out and so on.

The other day I asked to make

Michelangelo >>:
кидай... с утра по приходу займусь... Z401291341083

The program was based on this indicator and it was approved by the programmer - thanks to him.

I have implemented all parameters of the indicator in my EA, it is understood and it didn't take much effort.

However, I don't understand how to open position in one direction or another when arrow appears.

Here's how I understand the signals that cause the arrows to appear

if (Signal > 0 && g_ibuf_104[l_shift_4 + 1] == -1.0) {
            g_ibuf_112[l_shift_4] = lda_24[l_shift_4];
            g_ibuf_104[l_shift_4] = lda_24[l_shift_4];
            if (Line > 0) g_ibuf_120[l_shift_4] = lda_24[l_shift_4];
            if (SoundON == TRUE && l_shift_4 == 0 && !gi_132) {
               gi_132 = TRUE;
               gi_136 = FALSE;
       
            }
         } else {
            g_ibuf_104[l_shift_4] = lda_24[l_shift_4];
            if (Line > 0) g_ibuf_120[l_shift_4] = lda_24[l_shift_4];
            g_ibuf_112[l_shift_4] = -1;
         }
         if (Signal == 2) g_ibuf_104[l_shift_4] = 0;
         g_ibuf_116[l_shift_4] = -1;
         g_ibuf_108[l_shift_4] = -1.0;
         g_ibuf_124[l_shift_4] = EMPTY_VALUE;
      }
      if (li_8 < 0) {
         if (Signal > 0 && g_ibuf_108[l_shift_4 + 1] == -1.0) {
            g_ibuf_116[l_shift_4] = lda_20[l_shift_4];
            g_ibuf_108[l_shift_4] = lda_20[l_shift_4];
            if (Line > 0) g_ibuf_124[l_shift_4] = lda_20[l_shift_4];
            if (SoundON == TRUE && l_shift_4 == 0 && !gi_136) {
               gi_136 = TRUE;
               gi_132 = FALSE;

I do not know what I should prescribe to open in buy or what to open in sell?

If I've got the conditions wrong, here is the code of the indicator.

/*
   Generated by EX4-TO-MQ4 decompiler V4.0.224.1 []
   Website: http://purebeam.biz
   E-mail : purebeam@gmail.com
*/
#property copyright "Copyright © 2006, TrendLaboratory Ltd."
#property link      "http://finance.groups.yahoo.com/group/TrendLaboratory"

#property indicator_chart_window
#property indicator_buffers 6
#property indicator_color1 RoyalBlue
#property indicator_color2 Red
#property indicator_color3 RoyalBlue
#property indicator_color4 Red
#property indicator_color5 RoyalBlue
#property indicator_color6 Red

extern int Length = 20;
extern int Deviation = 1;
extern double MoneyRisk = 1.0;
extern int Signal = 1;
extern int Line = 1;
extern int Nbars = 10000;
double g_ibuf_104[];
double g_ibuf_108[];
double g_ibuf_112[];
double g_ibuf_116[];
double g_ibuf_120[];
double g_ibuf_124[];
extern bool SoundON = TRUE;
bool gi_132 = FALSE;
bool gi_136 = FALSE;

int init() {
   SetIndexBuffer(0, g_ibuf_104);
   SetIndexBuffer(1, g_ibuf_108);
   SetIndexBuffer(2, g_ibuf_112);
   SetIndexBuffer(3, g_ibuf_116);
   SetIndexBuffer(4, g_ibuf_120);
   SetIndexBuffer(5, g_ibuf_124);
   SetIndexStyle(0, DRAW_ARROW, STYLE_SOLID, 1);
   SetIndexStyle(1, DRAW_ARROW, STYLE_SOLID, 1);
   SetIndexStyle(2, DRAW_ARROW, STYLE_SOLID, 1);
   SetIndexStyle(3, DRAW_ARROW, STYLE_SOLID, 1);
   SetIndexStyle(4, DRAW_LINE);
   SetIndexStyle(5, DRAW_LINE);
   SetIndexArrow(0, 159);
   SetIndexArrow(1, 159);
   SetIndexArrow(2, 233);
   SetIndexArrow(3, 234);
   IndicatorDigits(MarketInfo(Symbol(), MODE_DIGITS));
   string ls_0 = "BBands Stop(" + Length + "," + Deviation + ")";
   IndicatorShortName(ls_0);
   SetIndexLabel(0, "UpTrend Stop");
   SetIndexLabel(1, "DownTrend Stop");
   SetIndexLabel(2, "UpTrend Signal");
   SetIndexLabel(3, "DownTrend Signal");
   SetIndexLabel(4, "UpTrend Line");
   SetIndexLabel(5, "DownTrend Line");
   SetIndexDrawBegin(0, Length);
   SetIndexDrawBegin(1, Length);
   SetIndexDrawBegin(2, Length);
   SetIndexDrawBegin(3, Length);
   SetIndexDrawBegin(4, Length);
   SetIndexDrawBegin(5, Length);
   return (0);
}

int start() {
   int li_8;
   double lda_12[25000];
   double lda_16[25000];
   double lda_20[25000];
   double lda_24[25000];
   for (int l_shift_4 = Nbars; l_shift_4 >= 0; l_shift_4--) {
      g_ibuf_104[l_shift_4] = 0;
      g_ibuf_108[l_shift_4] = 0;
      g_ibuf_112[l_shift_4] = 0;
      g_ibuf_116[l_shift_4] = 0;
      g_ibuf_120[l_shift_4] = EMPTY_VALUE;
      g_ibuf_124[l_shift_4] = EMPTY_VALUE;
   }
   for (l_shift_4 = Nbars - Length - 1; l_shift_4 >= 0; l_shift_4--) {
      lda_12[l_shift_4] = iBands(NULL, 0, Length, Deviation, 0, PRICE_CLOSE, MODE_UPPER, l_shift_4);
      lda_16[l_shift_4] = iBands(NULL, 0, Length, Deviation, 0, PRICE_CLOSE, MODE_LOWER, l_shift_4);
      if (Close[l_shift_4] > lda_12[l_shift_4 + 1]) li_8 = 1;
      if (Close[l_shift_4] < lda_16[l_shift_4 + 1]) li_8 = -1;
      if (li_8 > 0 && lda_16[l_shift_4] < lda_16[l_shift_4 + 1]) lda_16[l_shift_4] = lda_16[l_shift_4 + 1];
      if (li_8 < 0 && lda_12[l_shift_4] > lda_12[l_shift_4 + 1]) lda_12[l_shift_4] = lda_12[l_shift_4 + 1];
      lda_20[l_shift_4] = lda_12[l_shift_4] + (MoneyRisk - 1.0) / 2.0 * (lda_12[l_shift_4] - lda_16[l_shift_4]);
      lda_24[l_shift_4] = lda_16[l_shift_4] - (MoneyRisk - 1.0) / 2.0 * (lda_12[l_shift_4] - lda_16[l_shift_4]);
      if (li_8 > 0 && lda_24[l_shift_4] < lda_24[l_shift_4 + 1]) lda_24[l_shift_4] = lda_24[l_shift_4 + 1];
      if (li_8 < 0 && lda_20[l_shift_4] > lda_20[l_shift_4 + 1]) lda_20[l_shift_4] = lda_20[l_shift_4 + 1];
      if (li_8 > 0) {
         if (Signal > 0 && g_ibuf_104[l_shift_4 + 1] == -1.0) {
            g_ibuf_112[l_shift_4] = lda_24[l_shift_4];
            g_ibuf_104[l_shift_4] = lda_24[l_shift_4];
            if (Line > 0) g_ibuf_120[l_shift_4] = lda_24[l_shift_4];
            if (SoundON == TRUE && l_shift_4 == 0 && !gi_132) {
               gi_132 = TRUE;
               gi_136 = FALSE;
       
            }
         } else {
            g_ibuf_104[l_shift_4] = lda_24[l_shift_4];
            if (Line > 0) g_ibuf_120[l_shift_4] = lda_24[l_shift_4];
            g_ibuf_112[l_shift_4] = -1;
         }
         if (Signal == 2) g_ibuf_104[l_shift_4] = 0;
         g_ibuf_116[l_shift_4] = -1;
         g_ibuf_108[l_shift_4] = -1.0;
         g_ibuf_124[l_shift_4] = EMPTY_VALUE;
      }
      if (li_8 < 0) {
         if (Signal > 0 && g_ibuf_108[l_shift_4 + 1] == -1.0) {
            g_ibuf_116[l_shift_4] = lda_20[l_shift_4];
            g_ibuf_108[l_shift_4] = lda_20[l_shift_4];
            if (Line > 0) g_ibuf_124[l_shift_4] = lda_20[l_shift_4];
            if (SoundON == TRUE && l_shift_4 == 0 && !gi_136) {
               gi_136 = TRUE;
               gi_132 = FALSE;
            }
         } else {
            g_ibuf_108[l_shift_4] = lda_20[l_shift_4];
            if (Line > 0) g_ibuf_124[l_shift_4] = lda_20[l_shift_4];
            g_ibuf_116[l_shift_4] = -1;
         }
         if (Signal == 2) g_ibuf_108[l_shift_4] = 0;
         g_ibuf_112[l_shift_4] = -1;
         g_ibuf_104[l_shift_4] = -1.0;
         g_ibuf_120[l_shift_4] = EMPTY_VALUE;
      }
   }
   return (0);
}

I wrote this one for the Expert Advisor.

//+------------------------------------------------------------------+
//|                                        PriceChanel_Stop_v1_2.mq4 |
//|                                Copyright © 2010, Michelangelo ®  |
//|                                         http://www.fxtraders.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2010, Michelangelo ®"
#property link      "http://www.fxtraders.net"

extern int Length = 20;
extern int Deviation = 1;
extern double MoneyRisk = 1.0;
extern int Signal = 1;
extern int Line = 1;
extern int Nbars = 10000;
extern int TakeProfit=100;

double UpTrendSignal=-1.0;
double DownTrendSignal=-1.0;
double Lots;
datetime timeSignal;
//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
  int Ticket;
  double TP;
//----
   Ticket=-1;
   Lots=MarketInfo(Symbol(),MODE_MINLOT);
   UpTrendSignal=iCustom(Symbol(),0,"BBANDS~1",Length,Deviation,MoneyRisk,Signal,Line,Nbars,TakeProfit,2,0);
   if (UpTrendSignal>0){
      if (timeSignal<=Time[0]){
         RefreshRates();
         Ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,5,0,0,0,0,0,Green);
         if (TakeProfit>0 && Ticket>0) {
            TP=NormalizeDouble((Ask+TakeProfit*Point),MarketInfo(Symbol(),MODE_DIGITS));
            OrderModify(Ticket,OrderOpenPrice(),0,TP,0,0);
            }
         Print("Пришел сигнал на покупку!");
         timeSignal=TimeCurrent();
         }
         }
   DownTrendSignal=iCustom(Symbol(),0,"BBANDS~1",Length,Deviation,MoneyRisk,Signal,Line,Nbars,TakeProfit,3,0);
   if (DownTrendSignal>0){
      if (timeSignal<=Time[0]){
         RefreshRates();
         Ticket=OrderSend(Symbol(),OP_SELL,Lots,Bid,5,0,0,0,0,0,Green);
         if (TakeProfit>0 && Ticket>0) {
            TP=NormalizeDouble((Bid-TakeProfit*Point),MarketInfo(Symbol(),MODE_DIGITS));
            OrderModify(Ticket,OrderOpenPrice(),0,TP,0,0);
            }
         Print("Пришел сигнал на продажу!");
         timeSignal=TimeCurrent();
         }
         }
    
//----
   return(0);
  }
//+------------------------------------------------------------------+

I compiled it without errors )))) that amazed me )))) I'll try to test it now and see what I did there))))

Reason: