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

Notification

Icon
Error

3 Pages<123
Options
Go to last post Go to first unread
indexarb  
#41 Posted : 13 years ago
indexarb

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/12/2012(UTC)
Posts: 44

Superstar!!! you tried it out? Looks quite good my end, performance wise
jjstein  
#42 Posted : 13 years ago
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)
How did test? And on which symbols?

The eyes can lie -- here is a plain visual:
UserPostedImage


While here are some hard numbers:
UserPostedImage

indexarb  
#43 Posted : 13 years ago
indexarb

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/12/2012(UTC)
Posts: 44

Very strange I have been looking at intra day 3 and 5 min chart for gold and oil .. just eye balling chart, long and short Do you have intraday? if you can show me code for system test i am happy to do test and post results
henry1224  
#44 Posted : 13 years ago
henry1224

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 10/29/2004(UTC)
Posts: 1,394
Location: Glastonbury, CT

Was thanked: 3 time(s) in 3 post(s)
have you tested it with the signals reversed?
From what I've seen, it gets whipsawed in and out terribly.In a long term trend it would show a profit, but in a sideways market, you are going to lose your shirt,car and house!!
indexarb  
#45 Posted : 13 years ago
indexarb

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 3/12/2012(UTC)
Posts: 44

I have been using it on 3 min bar's, with a support. And resistance overlay So far looks promising
bala_ours  
#46 Posted : 12 years ago
bala_ours

Rank: Newbie

Groups: Registered, Registered Users, Subscribers
Joined: 7/31/2013(UTC)
Posts: 1

Deal all

I'm from India, I'm new for metastock any one can help me to write metastock buy sell signal and how to save and apply.
bala
johngoat  
#47 Posted : 10 years ago
johngoat

Rank: Newbie

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

Here's a slightly modified version of ST. Uses MovAvgs of high & low instead of Median price. Added ability to enter a start date which I like for when I open a new position.

 

InpMonth:=Input("Month",1,12,1);
InpDay:=Input("Day",1,31,1);
InpYear:=Input("Year",1900,2050,2014);
Entry:=DayOfMonth() = InpDay AND Month() = InpMonth AND Year() = InpYear;
Factor:=Input("Factor",1.00,10.00,3.00);
Pd:=Input("ATR Periods",1,500,21);
Up:=Mov(H,21,S)+(Factor*(ATR(Pd)));
Dn:=Mov(L,21,S)-(Factor*(ATR(Pd)));
Td:=If(Cross(C,LLV(Up,13)),1,If(Cross(HHV(Dn,13),C ),-1,PREV));
Dnx:=If(Dn=HighestSince(1,Cross(Td,0),Dn),Dn,PREV) ;
Upx:=If(Up=LowestSince(1,Cross(0,Td),Up),Up,PREV);
ST:=If(Td=1,Dnx,If(Td=-1,Upx,PREV));
If(BarsSince(Entry)=0,ST,ST);

 

And a version that uses HHV & LLV for past 3 months instead of median price.

 

InpMonth:=Input("Month",1,12,1);
InpDay:=Input("Day",1,31,1);
InpYear:=Input("Year",1900,2050,2014);
Entry:=DayOfMonth() = InpDay AND Month() = InpMonth AND Year() = InpYear;
Factor:=Input("Factor",1.00,10.00,3.00);
Pd:=Input("ATR Periods",1,500,63);
Up:=HHV(H,63)+(Factor*(ATR(Pd)));
Dn:=LLV(L,63)-(Factor*(ATR(Pd)));
Td:=If(Cross(C,LLV(Up,13)),1,If(Cross(HHV(Dn,13),C ),-1,PREV));
Dnx:=If(Dn=HighestSince(1,Cross(Td,0),Dn),Dn,PREV) ;
Upx:=If(Up=LowestSince(1,Cross(0,Td),Up),Up,PREV);
ST:=If(Td=1,Dnx,If(Td=-1,Upx,PREV));
If(BarsSince(Entry)=0,ST,ST);

Edited by user 10 years ago  | Reason: Not specified

mstt  
#48 Posted : 10 years ago
mstt

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 johngoat I've taken the liberty of modifying one of the two "Super Trend" formulas posted yesterday. The "Entry" variable has been changed so that the selection of a non-trading start date does not generate an N/A result. The other changes remove the four PREV functions. Roy {Super Trend} InpMonth:=Input("Month",1,12,1); InpDay:=Input("Day",1,31,1); InpYear:=Input("Year",1900,2050,2004); Entry:=(DayOfMonth()>=InpDay AND Month()=InpMonth AND Year()=InpYear) OR Year()>InpYear OR (Year()=InpYear AND Month()>InpMonth); Entry:=Cum(Entry)=1; Factor:=Input("Factor",1.00,10.00,3.00); Pd:=Input("ATR Periods",1,500,21); Up:=Mov(H,21,S)+(Factor*(ATR(Pd))); Dn:=Mov(L,21,S)-(Factor*(ATR(Pd))); Tup:=Cross(C,LLV(Up,13)); Tdn:=Cross(HHV(Dn,13),C); Td:=BarsSince(Tup)<BarsSince(Tdn); Td:=If(Td,1,-1); Dnx:=HighestSince(1,Cross(Td,0),Dn); Upx:=LowestSince(1,Cross(0,Td),Up); ST:=If(Td=1,Dnx,Upx); If(BarsSince(Entry)=0,ST,ST);
Users browsing this topic
Guest (Hidden)
Similar Topics
Exploration with Supertrend Indicator (Formula Assistance)
by andbertini 8 years ago
Supertrend Indicator (Formula Assistance)
by hitrader 8 years ago
forex supertrend indicator from prorealtime (Formula Assistance)
by garrei 20 years ago
3 Pages<123
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.

information You have 1 unread message(s) in your Inbox.