Jump to content
Tom Next - Daytrading Community

Recommended Posts

Posted (edited)
Hier noch ein System, welches ich für den Maran programmiert habe:

Input: Ma1(3),Ma2(6),Mo(6),Rs(12),Wi(12)
Var: Ampel(0)

{Indikatorberechnung}
Value0 = MACD(Close,Ma1,Ma2)
Value1 = Momentum(Close,Mo)
Value2 = RSI(Close,Rs)
Value3 = WilliamsR(Wi)

{Berechnung der 'Ampel}
Ampel = 0
If Value0 > 0 Then Ampel = Ampel +1
If Value1 > 0 Then Ampel = Ampel +1
If Value2 > 50 Then Ampel = Ampel +1
If Value3 > 0.5 Then Ampel = Ampel +1

{Kauf bzw. Verkauf}
If Ampel > 3 Then Buy High Stop   
If Ampel < 1 Then Sell Low Stop 

{Visualisierung}
Draw "Ampel" ,ampel,1,1,0,Green
Draw "1" ,Value0,1,1,0,Red
Draw "2" ,Value1,1,1,0,Blue
Draw "3" ,Value2,1,1,0,White
Draw "4" ,Value3,1,1,0,Yellow

Edited by Henrik
Code in Code-Tags gesetzt

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...