Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Monday, December 22, 2014 12:51:34 AM(UTC)

Rank: Newbie

Groups: Registered, Registered Users
Joined: 10/16/2011(UTC)
Posts: 9

I'm using the expert advisor to plot a symbol when Bollinger Bandwidth is at it's lowest value for the past 250 days. the formula is: LLV(Fml("BBTK - BandWidth"),250). the problem is that it plots a symbol almost everyday. the pic "LLV_Bandwidth" in the album Expert Advisor Bandwidth shows this. 

The bandwidth indicator is plotted on the chart too and it's obvious that it isn't at its lowest value as frequently as the symbol gets plotted.

I've looked at all the lowest functions I can find and none seem better suited for the task than LLV.

I assume this is any easy fix, but I'm stumped. Thank you, jg

MS Support  
#2 Posted : Monday, December 22, 2014 10:29:16 PM(UTC)
MS Support

Rank: Advanced Member

Groups: Moderators, Registered, Registered Users, Subscribers
Joined: 10/8/2010(UTC)
Posts: 1,631

Thanks: 52 times
Was thanked: 130 time(s) in 126 post(s)
LLV returns a value, the Lowest Low Value of BBTK - BandWidth. It is not a True/False aka Conditional statement. The reason it triggers the expert symbols is because any non-zero value counts as a "signal". You can easily turn your formula into a conditional statement, such as: Fml("BBTK - BandWidth") = LLV(Fml("BBTK - BandWidth"),250)
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.