Please fix this indicator or EA - page 67

 

Coders

This indicator does not work on current bar !

Is it possible to fix it ?

Thank you

Files:
apz.png  43 kb
apz.mq4  3 kb
 
secretcode:
Coders

This indicator does not work on current bar !

Is it possible to fix it ?

Thank you

secretcode

Try it out now

Files:
apz_1.mq4  3 kb
 
mladen:
secretcode Try it out now

Thank You very much Mladen now it works perfectly fine

secretcode

 

I have a big request. I need to remove the indicator code the 2 parameters:

"Version.Info external string = INDICATOR_VERSION;

SuperTrend.Settings external string = "------------------" "

because they can not write .ea unuis it using software. I always have error whatever I try to replace or remove.

Thanks

Files:
 
dacian21:
I have a big request. I need to remove the indicator code the 2 parameters:

"Version.Info external string = INDICATOR_VERSION;

SuperTrend.Settings external string = "------------------" "

because they can not write .ea unuis it using software. I always have error whatever I try to replace or remove.

Thanks

dacian21

Simply call it like this from your EA :

double value = iCustom(Symbol(),SuperTrend.TimeFrame,"xSuperTrend MTF","","",SuperTrend.Period,SuperTrend.Multiplier,0,False,0,index);
 

Building .ea using it as a kind of interface software. I do not know the Mq4language so well. If you can find a replacement to:

"SuperTrend.Settings external string =" ------------------ ""

of xSuperTrend MTF.mq4 I would be very helpful.

Software that cant work with '------------------'

I have a value ... like ex "1" or "0" .... or something inside indicator rewritten.

Thank you!

 
dacian21:
Building .ea using it as a kind of interface software. I do not know the Mq4language so well. If you can find a replacement to:

"SuperTrend.Settings external string =" ------------------ ""

of xSuperTrend MTF.mq4 I would be very helpful.

Software that cant work with '------------------'

I have a value ... like ex "1" or "0" .... or something inside indicator rewritten.

Thank you!

dacian21

I am afraid that I do not understand this post

If you use the iCustom() form of call that was posted 2 posts ago, the effect of it is as if you removed the first two external parameters from the code (and that was your original request, if I understood correctly)

 

Hii ...I have a request

My ea only working demo Could you make it for real ...

Files:
c-m.rar  1245 kb
 
kubi:
Hii ...I have a request My ea only working demo Could you make it for real ...

kubi

That is an executable (ex4) file. If it is your EA than provide source code so that the eventual error can be checked, located and removed (I assume that your code will not be a decompiled code)

 

Building .ea It using a software interface. When inserted into the interface conditions of. Fill it every time the two parameters.

The first is easy to erase. The second cause errors as to be filled with a value ex. "0" or "1" or "M15".

The conditions

SuperTrend.Settings external string = "----------------------"

is taken only

/ / Calculation call via iCustom

if (SuperTrend.AutoTF == False && SuperTrend.Settings == "") {

giRepaintBars = 0; "

It would be helpful if the indicator would have this parameter value as the example or be rewritten.

What is useful in rewriting. It are the other parameters:

SuperTrend.Period external int = 10;

External double SuperTrend.Multiplier = 1.7;

SuperTrend.TimeFrame external int = 0;

SuperTrend.AutoTF bool external = True;

I need to show only these parameters and a solution to define condition "false" indicator so that the parameter "string foreign SuperTrend.Settings =" ----------------- ----- "" will no longer be necessary. Or a value for this parameter. The software can work with "=" ---------------------- ""

Thank you!

Reason: