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
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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".
|
|
|
|
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.
|
|
|
|
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*
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
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.