Coding help - page 87

 
GainMoney:
you the one who knows , but i have a picture of a template of bands which shows the bands i want .

i may have observed wrongly the way the bands should work , but can you please watch the picture and tell me how it works .

Please can you make the template in the picture , or the band .

Thanks

I have been sent this and the sender allowed posting. So here is a template that generates what you see on the picture you posted (see the current example) :

Files:
bands.gif  89 kb
1.tpl  7 kb
 

Hi,

I realized in metastock 2 formulas for automatic fibo levels:

one for supp

one for res

Mladen coded one for supp and it is ok.

I ask if someone can code formula for res......and obviously it is different from sup because you consider the same high-low of a swing but different mathematical relationship....I hope it is now much clear!

Please see my image:

Files:
swing.gif  43 kb
 

this is my formula for fibo res levels (red levels in previous image):

hi:=HHV(H,60);

lo:=LLV(L,30);

BeginPlot:=C>0;

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.214));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.382));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.5));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.5858));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.618));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.764));

lo;

HI;

as you can see, I write for example 0.214 to obtain resistence 78.6%......or 0.764 to obtain resistance 23.6%.....ok?

thank's in advance.....

 
carbonmimetic:
this is my formula for fibo res levels (red levels in previous image):

hi:=HHV(H,60);

lo:=LLV(L,30);

BeginPlot:=C>0;

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.214));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.382));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.5));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.5858));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.618));

ValueWhen(1,BeginPlot,(hi-(hi-lo)*.764));

lo;

HI;

as you can see, I write for example 0.214 to obtain resistence 78.6%......or 0.764 to obtain resistance 23.6%.....ok?

thank's in advance.....

carbonmimetic

This would be a fibo resistance according to your description and parameters

Files:
fibor_res.gif  42 kb
fibo_res.mq4  3 kb
 

Hello,

I need to add FIFO to an excellent EA. How do I add this?

Thanks.

Paul

 
sa1hawk:
Hello,

I need to add FIFO to an excellent EA. How do I add this?

Thanks.

Paul

Difficult to explain how it is done without the EA code (at least an example EA code)

 
mladen:
carbonmimetic This would be a fibo resistance according to your description and parameters

YEEEESSSSSSSSSSSS.....all right...thank you very much!!!!!!

 
carbonmimetic:
YEEEESSSSSSSSSSSS.....all right...thank you very much!!!!!!

No big deal

Happy trading

 

Hi, i find this indicator very useful but the indicator updates only when i switch the timeframe. can someone change the indicator so, that automatically updates when their is a new bar on the chart? thx

multi_tf_bb__alert_ver2.mq4

I found the indicator on this threat -> https://www.mql5.com/en/forum/173534

 
mladen:
No big deal Happy trading

ALL your indis you coded for me , are Big GIFT because I use them on other softwares (as I said before in other posts) and now all on metatrader.

So.....when you have time...can you code these 2 formulas at https://www.mql5.com/en/forum/177239

post n°463 and 467

input for colours

when formula is true,indicator gives result 80,when is false gives 20....this because I draw them on stochastic....see my image in those posts.

Thank's Mladen....BIG CODER!