• Get access

Requests & Ideas - page 637

Mladen Rakic
163290
Mladen Rakic  
rishimadan:

Hi Mladen,

indicator stochastic bar chart work fine but bars not shown properly below level 20 and above 80 check

 

It is an issue that happens with the newest builds on mt4 (only with some indicators that are using DRAW_NONE style, which does not work the same as before)

Here is the fixed version


mntiwana
4558
mntiwana  
mladen:

It is an issue that happens with the newest builds on mt4 (only with some indicators that are using DRAW_NONE style, which does not work the same as before)

Here is the fixed version


Dearest MLADEN

 Thanks for explaining,do you means all those codes that are using "DRAW_NONE" .... should be replaced like you explained for to remove such issue .... or only the indicators that are drawing objects in sw ?

regards

for example

"int init()
{
   SetIndexBuffer(0,open);  SetIndexStyle(0,DRAW_NONE);
   SetIndexBuffer(1,close); SetIndexStyle(1,DRAW_NONE);
   SetIndexBuffer(2,high);  SetIndexStyle(2,DRAW_NONE);
   SetIndexBuffer(3,low);   SetIndexStyle(3,DRAW_NONE);
    IndicatorShortName(UniqueID);

.................. and .....

int init()
{
   IndicatorBuffers(5);
   SetIndexBuffer(0,open);  SetIndexStyle(0,DRAW_NONE);
   SetIndexBuffer(1,close); SetIndexStyle(1,DRAW_NONE);
   SetIndexBuffer(2,high);  SetIndexStyle(2,DRAW_NONE);
   SetIndexBuffer(3,low);   SetIndexStyle(3,DRAW_NONE);
   SetIndexBuffer(4,trend);
   SetLevelValue(0,levelOb);
   SetLevelValue(1,levelOs);
=================================================================
.............. should be replaced like this .........

int init()
{
   SetIndexBuffer(0,open);  SetIndexStyle(0,EMPTY,EMPTY,EMPTY,clrNONE);
   SetIndexBuffer(1,close); SetIndexStyle(1,EMPTY,EMPTY,EMPTY,clrNONE);
   SetIndexBuffer(2,high);  SetIndexStyle(2,EMPTY,EMPTY,EMPTY,clrNONE);
   SetIndexBuffer(3,low);   SetIndexStyle(3,EMPTY,EMPTY,EMPTY,clrNONE);
    IndicatorShortName(UniqueID);

   return(0);"

Mladen Rakic
163290
Mladen Rakic  
mntiwana:

Dearest MLADEN

 Thanks for explaining,do you means all those codes that are using "DRAW_NONE" .... should be replaced like you explained for to remove such issue .... or only the indicators that are drawing objects in sw ?

regards

for example

"int init()
{
   SetIndexBuffer(0,open);  SetIndexStyle(0,DRAW_NONE);
   SetIndexBuffer(1,close); SetIndexStyle(1,DRAW_NONE);
   SetIndexBuffer(2,high);  SetIndexStyle(2,DRAW_NONE);
   SetIndexBuffer(3,low);   SetIndexStyle(3,DRAW_NONE);
    IndicatorShortName(UniqueID);

.................. and .....

int init()
{
   IndicatorBuffers(5);
   SetIndexBuffer(0,open);  SetIndexStyle(0,DRAW_NONE);
   SetIndexBuffer(1,close); SetIndexStyle(1,DRAW_NONE);
   SetIndexBuffer(2,high);  SetIndexStyle(2,DRAW_NONE);
   SetIndexBuffer(3,low);   SetIndexStyle(3,DRAW_NONE);
   SetIndexBuffer(4,trend);
   SetLevelValue(0,levelOb);
   SetLevelValue(1,levelOs);
=================================================================
.............. should be replaced like this .........

int init()
{
   SetIndexBuffer(0,open);  SetIndexStyle(0,EMPTY,EMPTY,EMPTY,clrNONE);
   SetIndexBuffer(1,close); SetIndexStyle(1,EMPTY,EMPTY,EMPTY,clrNONE);
   SetIndexBuffer(2,high);  SetIndexStyle(2,EMPTY,EMPTY,EMPTY,clrNONE);
   SetIndexBuffer(3,low);   SetIndexStyle(3,EMPTY,EMPTY,EMPTY,clrNONE);
    IndicatorShortName(UniqueID);

   return(0);"

Yes, simply instead of using drawing style DRAW_NONE, we should declare that it is drawing whatever, but using color none and then it will work with the new builds of metatrader 4 too (it started in the last few builds of metatrader 4 - about 2,3 months ago)
mntiwana
4558
mntiwana  
mladen:
Yes, simply instead of using drawing style DRAW_NONE, we should declare that it is drawing whatever, but using color none and then it will work with the new builds of metatrader 4 too (it started in the last few builds of metatrader 4 - about 2,3 months ago)

Dearest MLADEN

Thanks for explained reply,if this apply to all "on chart and sw" indicators that using objects and or drawing style and having "DRAW_NONE"

and why there are 3 "EMPTY" states/repeated,why not 1 or 4 ?

regards

rishimadan
32
rishimadan  
mladen:

It is an issue that happens with the newest builds on mt4 (only with some indicators that are using DRAW_NONE style, which does not work the same as before)

Here is the fixed version


Thanks mladen,

try

Mladen Rakic
163290
Mladen Rakic  
mntiwana:

Dearest MLADEN

Thanks for explained reply,if this apply to all "on chart and sw" indicators that using objects and or drawing style and having "DRAW_NONE"

and why there are 3 "EMPTY" states/repeated,why not 1 or 4 ?

regards

Because I want to change only the color (EMPTY means to ignore - leave the setting as is, and I must have all the parameters in order to change parameter 4)
themountain90
13
themountain90  

Hello Mladen, im wondering if you Thought about making a histogram or a type of oscillator from StepMA of rsi adaptive ema 2.9? Do you Think its a intresting or possible idea?

 

Cheers to all 

mntiwana
4558
mntiwana  
themountain90:

Hello Mladen, im wondering if you Thought about making a histogram or a type of oscillator from StepMA of rsi adaptive ema 2.9? Do you Think its a intresting or possible idea?

 

Cheers to all 

An previous histo version v2.8 of that.



dmnik
132
dmnik  
Hello, tell me what the indicator is in the basement.
Files:
EUH1.png 31 kb
Mladen Rakic
163290
Mladen Rakic  
DMNIK:
Hello, tell me what the indicator is in the basement.
Old version of Schaff trend cycle