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 : Saturday, July 21, 2012 4:10:04 PM(UTC)
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 : Saturday, July 21, 2012 7:22:25 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)
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 : Sunday, July 22, 2012 2:17:40 PM(UTC)
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 : Sunday, July 22, 2012 8:30:42 PM(UTC)
henry1224

Rank: Advanced Member

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

Was thanked: 2 time(s) in 2 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 : Thursday, July 26, 2012 1:46:27 PM(UTC)
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 : Wednesday, July 31, 2013 7:06:53 AM(UTC)
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 : Monday, December 22, 2014 3:12:11 AM(UTC)
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 Monday, December 22, 2014 3:14:11 AM(UTC)  | Reason: Not specified

mstt  
#48 Posted : Monday, December 22, 2014 5:57:22 PM(UTC)
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 10/9/2017 3:09:36 PM(UTC)
Supertrend Indicator (Formula Assistance)
by hitrader 2/1/2017 10:09:39 PM(UTC)
forex supertrend indicator from prorealtime (Formula Assistance)
by garrei 8/11/2005 10:54:24 PM(UTC)
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.