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)
|
1) TD Supply lines---Level one TD Supply lines are drawn by joining from the right 2 TD Level one supply points. A TD Supply Point is a High surrounded on either side by lower highs.I had coded these points in blue by going to the highlight tab in the expert adviser and coding H>Ref(H,-1)AND H>Ref(H,+1) I selected the blue color for the points.(I named the Expert TD Supply points)On opening a chart I would manually draw a line with the Trend line tool connecting the last 2 supply points from the right and observing if any price bar violates it from below.(buy signal)
The problem is obtaining an explorer formula for this.
I tried this:-
Tab A
ValueWhen(1,Cross(C, Fml( "TD Supply Points")),H)
Filter
C<A+1 AND C< A-1
The idea is for The Explorer to open the chart with price bars enabling drawing of manual TD Supply lines by the trend line tool.
But this coding is giving De bugging errors.
Can anybody help?
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Can you post the correct code you're trying in the proper tags, so hopefully the forum software will interfere less and render it correctly?
There are methods to draw trendlines using code, but these can be a little complex and for the most part, only relate to the very right hand side of the chart i.e. you wont see historical trendlines so you'll not be able to backtest, but you will be able to trade real-time.
wabbit [:D]
|
|
|
|
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)
|
Dear Wabbit,
Thank you for your response.
Here is the code as I entered it.
Expert Advisor---Highlight Tab--Color blue-name TD Supply points
H>Ref(H,-1)AND H>Ref(H,+1)
Explorer
Tab A
ValueWhen(1,Cross(C, Fml( "TD Supply Points")),H);
Filter
C<A+1 AND C< A-1
|
|
|
|
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)
|
|
|
|
|
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)
|
The forum software seems to be interfering with my post.
I am sending you a private message
|
|
|
|
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)
|
The private message tab is giving the same errors even the send email link on your website is not working. Could you give me your email id?
Send it to sournila@hotmail.com
The filter entry is (I hope it works this time)
C<A+1 AND C< A-1
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Try using the proper code tags, as displayed in my signature block below.
I've also sent an email.
wabbit [:D]
|
|
|
|
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.