Download MetaTrader 5

Catching arrow

To add comments, please log in or register
cape1354
186
cape1354  
I'm going to receive a signal from the " iCustom " function to configure " ea ".

Using the Print function, I can not see what the buffer looks like, except for 0.0.

I tried it, but it was the same result ( double UpTrend, int UpTrend, bool UpTrend, string UpTrend...)

Is there a way to know the form of data?


//+------------------------------------------------------------------+
//|                                               Test17.06.25-1.mq4 |
//|                        Copyright 2017, MetaQuotes Software Corp. |
//|                                             https://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2017, MetaQuotes Software Corp."
#property link      "https://www.mql5.com"
#property version   "1.00"
#property strict
//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
//---
   
   return(INIT_SUCCEEDED);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//---
  
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
   Print(UpTrend);
//---
  
//---
   
  }
//+------------------------------------------------------------------+

double UpTrend = iCustom(NULL,0,"\\Market\\PipFinite Trend Laser", //File Path of indicator 
                                                                                       
                              //NEXT LINES WILL BE INDCATOR INPUTS
                              " ", 3,1000, " ",true,7,true,2,8,8,true,"","Dark",true,"",true,
                              false,                                 
                              false,                                 
                              false,  
                              //END FOR INPUTS
                                                             
                              0,//Index Buffer                               
                              1//Shift used is 1 because signals is at Close of bar
                          );


whroeder1
15900
whroeder1  
cape1354: from the " iCustom " function to configure " ea ". Is there a way to know the form of data?
  1. All you provided was your iCustom call. No mind readers here, we don't know your indicator, so know way to know wether that is correct.
  2. See Detailed explanation of iCustom - MQL4 forum
To add comments, please log in or register