Coding help - page 741

 
Mladen hello.
you can write the adviser on the indicator?
 
Croddlic:
Mladen hello.
you can write the adviser on the indicator?
You can use iCustom() from an Ea for any indicator
 
Croddlic:

NO. I CAN NOT. I ASK YOU SAVE SIGNAL finish. That they would not disappear from the chart.

you can do so that would be an indicator memorize their values?

I know that the signals can be saved 

And what happens when you change time frame and come back?

That is what is called a classical repainting


PS: please, no CAPITAL letters. I can understand when they are regular letters too

 
mladen:

And what happens when you change time frame and come back?

That is what is called a classical repainting


PS: please, no CAPITAL letters. I can understand when they are regular letters too

If readings vary, the arrow must be maintained. arrow should appear on the first observing strict conditions and does not fade (make memorizing arrows)
 
Croddlic:
If readings vary, the arrow must be maintained. arrow should appear on the first observing strict conditions and does not fade (make memorizing arrows)
"Memorized arrows" can not be made (that is what I was trying to tell - it is going to repaint) all the best
 

HELLO MR MLADEN:

could you add color to this indicator when cross 50 color change

blue / red 

regard 

Files:
rsidash.mq4  2 kb
 

Hi,

How Can I create a Move Average with levels ?

I need to add two levels to MA...

like this sample.


 

 

//+------------------------------------------------------------------+
//|                                                           MA.mq5 |
//|                                             Copyright 2016,      |
//|                                              http://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2016"
#property link      "http://www.mql5.com"
#property version   "1.0"

//--- input parameters
input ENUM_TIMEFRAMES      timeframe=PERIOD_CURRENT;        // timeframe
input int                  ma_period=10;                 // MA Period
input int                  ma_shift=0;                   // MA Shift
input ENUM_MA_METHOD       ma_method=MODE_SMA;           // MA Method
input ENUM_APPLIED_PRICE   applied_price=PRICE_CLOSE;    // MA Price
input int                  level1=500;                   // level1
input int                  level2=-500;                  // level2



//--- global variables
int MAHandle;                    // MA handle

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
   MAHandle=iMA(_Symbol,timeframe,ma_period,ma_shift,ma_method,applied_price);
   return(0);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//--- release indicator handles
   IndicatorRelease(MAHandle);
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
  }

 

thank for your help. 

 
baraozemo:

Hi,

How Can I create a Move Average with levels ?

I need to add two levels to MA...

like this sample.


 

 

//+------------------------------------------------------------------+
//|                                                           MA.mq5 |
//|                                             Copyright 2016,      |
//|                                              http://www.mql5.com |
//+------------------------------------------------------------------+
#property copyright "Copyright 2016"
#property link      "http://www.mql5.com"
#property version   "1.0"

//--- input parameters
input ENUM_TIMEFRAMES      timeframe=PERIOD_CURRENT;        // timeframe
input int                  ma_period=10;                 // MA Period
input int                  ma_shift=0;                   // MA Shift
input ENUM_MA_METHOD       ma_method=MODE_SMA;           // MA Method
input ENUM_APPLIED_PRICE   applied_price=PRICE_CLOSE;    // MA Price
input int                  level1=500;                   // level1
input int                  level2=-500;                  // level2



//--- global variables
int MAHandle;                    // MA handle

//+------------------------------------------------------------------+
//| Expert initialization function                                   |
//+------------------------------------------------------------------+
int OnInit()
  {
   MAHandle=iMA(_Symbol,timeframe,ma_period,ma_shift,ma_method,applied_price);
   return(0);
  }
//+------------------------------------------------------------------+
//| Expert deinitialization function                                 |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
  {
//--- release indicator handles
   IndicatorRelease(MAHandle);
  }
//+------------------------------------------------------------------+
//| Expert tick function                                             |
//+------------------------------------------------------------------+
void OnTick()
  {
  }

 

thank for your help. 

Here is one that does that

Files:
 

 

Dear Coder,

i have one good indicator,

just convert to EA,


find attached image file,

INPUT :

Lot Size : 0.01
M15 Trade : True / False
M30 Trade : True / False
H1 Trade : True / False
H4 Trade : True / False
D1 Trade : True / False

Example:if M15 get signalUP (BLUE)then order place Buy, then get signalDOWN(RED)then close buy order ( if profitable position ) and placing new sell order, same soon all time frame,

thanks in advance,

- jesing

Files:
 
pls can someone pls help me code dis indicator when it change colour it should show arrow and alert
Reason: