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

Notification

Icon
Error

Options
Go to last post Go to first unread
Boss Hogg  
#1 Posted : Saturday, March 31, 2012 9:26:03 AM(UTC)
Boss Hogg

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 5/19/2009(UTC)
Posts: 3
Location: Calgary

Hello I would like to modify an existing formula to only show me when it fires true or false on the day that I scan. In this case I'm using the LMS MACD Divergence exploration. It works great but I would like to narrow down the signals to the current scan day. Any help would be appreciated. Here is the formula; IND:= MACD(); ST:=(Trough(1,LOW,5)) INDT:=Trough(1,IND,20) > Trough(2,IND,20); ST AND INDT This is in colF, ColA=C and and ColJ= BarsSince(colA) That looks better. Thanks in advance
jjstein  
#2 Posted : Saturday, March 31, 2012 10:21:26 AM(UTC)
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
Boss,

1. There's no signal defined -- is that the complete formula?

2. Any use of PEAK (or TROUGH) can change, as data is added; this means the signal can change AFTER THE FACT.

Boss Hogg  
#3 Posted : Saturday, March 31, 2012 1:00:27 PM(UTC)
Boss Hogg

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 5/19/2009(UTC)
Posts: 3
Location: Calgary

I see, your right all the formula does is provide a -1,0,1 in the exploration report. So when you say it changes after the fact do you mean it may show up one day and not the next? Brian
jjstein  
#4 Posted : Saturday, March 31, 2012 5:07:27 PM(UTC)
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
Boss Hogg wrote:
I see, your right all the formula does is provide a -1,0,1 in the exploration report.

You must have changed something, since it would not produce even that, as written. However, if you know what you want, just put in the FILTER tab, and the Exploration will only select for that criteria.

Boss Hogg wrote:
So when you say it changes after the fact do you mean it may show up one day and not the next? Brian


A number of functions are "dangerous" when "not used as directed"; they can either change over time or look into future. Search the forum for Zig(), Peak(), Trough() or LastValue() and keyword "dangerous".

Boss Hogg  
#5 Posted : Sunday, April 1, 2012 12:43:38 AM(UTC)
Boss Hogg

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 5/19/2009(UTC)
Posts: 3
Location: Calgary

Formula edited, sorry I don't know where that other on came from. Bad copy and past.
jjstein  
#6 Posted : Sunday, April 1, 2012 3:31:44 PM(UTC)
jjstein

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 5/13/2005(UTC)
Posts: 715
Location: Midwest, USA

Was thanked: 1 time(s) in 1 post(s)
What I'm seeing in the email and what's here on the forum don't match.

You need to use TAGS before & after any code, like this:

Put between * code* and * /code*

Code:

Put code HERE!



Users browsing this topic
Guest (Hidden)
Similar Topics
MACD Divergence based on LLV and HHV (Formula Assistance)
by Capablanca 5/10/2006 12:01:21 PM(UTC)
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.