MetaStock™ Zone Tworzenie Sytemów Trader Shop Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

 

TrueContrarian


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;

 

t-s-TrueContrarian.gif
Source / From: TOP
http://www.futuresmag.com

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie niesie ze sob± ryzyko poważnych strat finansowych!