Requests & Ideas, the beginning - page 226

 
rashme:

dear mladen,

 

please check if this is correct ....

That code will alert only if bid is exactly the same as the PRICE parameter. The chances that the bid is exactly the same to PRICE are small. You should check for > or <
 
mladen:
That code will alert only if bid is exactly the same as the PRICE parameter. The chances that the bid is exactly the same to PRICE are small. You should check for > or <

it's ok if the price is in 1 or 2 pips range....code condition please? 

if
           (cp == PRICE || cp == PRICE + 0.0001 || cp == PRICE + 0.0002 || cp == PRICE + 0.0003 || cp == PRICE + 0.0004 ||cp == PRICE + 0.0005 || cp ==PRICE - 0.0001 || cp == PRICE - 0.0002
           || cp == PRICE - 0.0003 || cp == PRICE - 0.0004 || cp == PRICE - 0.0005)

 

is this ok ? 

 
rashme:

it's ok if the price is in 1 or 2 pips range....code condition please? 

Replace this :

 if (currentprice == PRICE)  

With this (set the number of points you want to be used as tolerance - I used 10 just as an example) :

if (MathAbs(currentprice-PRICE)<=10*_Point)  
and try it then
 
mladen:

Replace this :

With this (set the number of points you want to be used as tolerance - I used 10 just as an example) :

and try it then

thank u very much mladen 

 
Hello. Is it possible to make the indicator became a two tone line that changes its color at intersection
Files:
 
Intrest1:
Hello. Is it possible to make the indicator became a two tone line that changes its color at intersection

Use the attached one (set the frama and signal period to 16 to get same values as that indicator)


Files:
 
mladen:

Use the attached one (set the frama and signal period to 16 to get same values as that indicator)


Thank you
 
deleted...
 

Hello Mladen
can extra averages (simple decycler/SDEC) be added to this indicator

 
dancukerz:

Hello Mladen
can extra averages (simple decycler/SDEC) be added to this indicator

Here is this one first (prices updated too - still kept the "generic" type of average - the Wilders' EMA for the sake of clarity)


Reason: