Rank: Advanced Member
Groups: Registered, Registered Users Joined: 2/19/2012(UTC) Posts: 106
Thanks: 1 times Was thanked: 1 time(s) in 1 post(s)
|
Hello,
A De Mark level one supply point consists of a High surrounded on both sides by lower highs. A line joining the two most recent De Mark Supply point is a level one TD supply line. I am looking for an exploration giving a closing price break above that line.
I first created an indicator TD Supply pts
A:=H>Ref(H,+1) AND H>Ref(H,-1);
{Plot}
A;
I created another indicator TD Sup Sou
Z:=ValueWhen(1,(Fml( "TD Supply pts") =1),H);
{Plot}
Z;
In the Explorer Filter I wrote
C> Fml( "TD Sup Sou")
I loaded 5000 records but got an error message --'result of formula not defined on calculation date'
Taking help of an earlier post by Mr.Roy larsen I created another indicator TD Sup Sou 1
Param:=(Fml( "TD Supply pts") =1);
Init:=Cum(IsDefined(Param))=1;
ValueWhen(1,Init OR Param, If(Init,0,H));
and wrote in the exploration filter
C> Fml( "TD Sup Sou 1")
Same error message
Can anybody help?
Regards,
Dr.Chatterjee
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 7/25/2005(UTC) Posts: 1,042
Was thanked: 57 time(s) in 54 post(s)
|
Hi gorachand
To check that you are in fact loading as many as 5000 records I suggest that you add
Cum(1) to a currently vacant column. This will report the number of bars actually loaded and confirm whether or not you're loading as many bars as you think. There are a number simple of ways to identify such problems, though a little imagination is usually necessary. Try to think what might be going wrong and then devise tests to check whether you're right or wrong. Any suspect Column or Filter should be converted to an indicator if you want to see a column's behaviour across your loaded data. However , you need to remember that the filter section only acts on the last bar of data. Hope this helps somewhat.
Roy
|
|
|
|
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.