log in     sign up for free
 
In my opinion, you do not have a trading system unless you know exactly when you will get out of the market position at the time you enter it.
Van K. Tharp
 
 
Home
systems (285)
 
 
Special offer: buy AmiBroker and EOD+Real-Time Data
 

Buy

MetaStock

     (special offer)
 
 
 

Buy

EOD data for MetaStock

     (special offer)
 
 
 

Buy

Realtime data for MetaStock

     (special offer)
 
 
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

TrueContrarian

System for: TradeStation

 

 

Views:  1493

Added: August 23, 2008
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 
 

email this link

 
 
Tags: TradeStation, system
 




Code:

Typ : Function, Name : CriteriaCounter

Inputs: Criteria(TrueFalse), Length(Numeric);
Vars: Accum(0);

For value1 = 0 To Length-1 Begin
IF Criteria[value1] Then
Accum = Accum + 1;
End;

IF Accum <> 0 Then Begin
CriteriaCounter = Accum;
Accum = 0;
End;





Typ : System, Name : TrueContrarian
Inputs: Criteria(C Cross Over Average(C, 10) Or C Cross Under Average(C, 10)), Length(40);

If CriteriaCounter(Criteria, Length) > 10 Then Begin
If C Cross Over Average(C, 10) Then
Buy Tomorrow at Open;
If C Cross Under Average(C, 10) Then
Sell Tomorrow at Open;
End;

If C Cross Under Average(C, 10) Then
ExitLong Tomorrow at Open;
If C Cross Over Average(C, 10) Then
ExitShort Tomorrow at Open;



 




 

Code to difficult? Find somebody to help you with coding here.

 


Source: http://www.futuresmag.com

 

View similar:

DBS-March
SystemE
Trend Continuation Factor
Recursive Moving Trendline System
Conner 19
Kase 30
Gettess 30
Neely31
Long Trends
Keltner Channels
...
 
 
all systems for TradeStation
all systems

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
PayPalSecure payments by PayPal S4T™ is a part of TAURO EDUCATION NETWORK
 
Privacy note | (c) copyrights systems4trading.com 2006-2009