Hallo Zusammen,
ich habe einen Basket an verschiedenen EA’s die in Equilla geschrieben wurden. Kann einer von euch helfen diese in Easy Language zu portieren?
Ein Test der Strategien in Kombination hat dort eine schöne Ertragskurve ergeben und mich würde interessieren, ob dies hier auch der Fall wäre.
Gerne poste ich im Anschluss die Settings, die ich für diverse Underlyings benutze.
Hier die jeweiligen Codes der Strategien:
Fractal Adaptive Band Breakout:
Inputs:
Preis( (H+L) / 2 ),
N( 16, 1 ), // Must be even
Standardabweichung( 2.0, 0.0 ),
TrailAmount( 0.5 ),
Visuals( False );
Variables:
mean, Abweichung, unteresBand, oberesBand;
mean = FRAMA( Preis, N );
Abweichung = Standardabweichung( mean, N );
unteresBand = mean - Standardabweichung * Abweichung;
oberesBand = mean + Standardabweichung * Abweichung;
If CurrentBar > 1 Then
If Low Crosses Over unteresBand Then
Buy Next Bar at unteresBand Stop
Else If High Crosses Under oberesBand Then
Short Next Bar at oberesBand Stop;
SetStopMode( ModeShare );
SetStopProfitTrailing( TrailAmount );
SetStopProfitTarget( 3 * TrailAmount );
If Visuals Then
DrawArea( oberesBand, unteresBand, "BandOben", "BandUnten", TransparentColor( LightGray, 100 ), Transparent, Transparent );
Relative Strength Index Zone System:
Inputs:
Price( Close ),
Period( 14, 1 ),
OverBought( 70, 0, 100 ),
OverSold( 30, 0, 100 ),
Bullish( LongEntry, ShortExit, NoBullishSignal ) = LongEntry,
Bearish( LongExit, ShortEntry, NoBearishSignal ) = LongExit;
Variables:
rsiVal;
rsiVal = RSI( Price, Period );
If Bullish <> NoBullishSignal Then
If rsiVal Crosses Over OverSold Then
If Bullish = LongEntry Then
Buy Next Bar at Market
Else If Bullish = ShortExit Then
Cover Next Bar at Market;
If Bearish <> NoBearishSignal Then
If rsiVal Crosses Under OverBought Then
If Bearish = LongExit Then
Sell Next Bar at Market
Else If Bearish = ShortEntry Then
Short Next Bar at Market;
Relative Strength Levy:
Inputs:
Preis( Close ),
Period( 14, 1 ),
EntryMethod( LongEinstieg, ShortEinstieg, Both ) = Both;
Variables:
result, LongSignal, ShortSignal, PivotValue(1);
result = RSL( Preis, Period );
LongSignal = ( result Crosses Over PivotValue ) And ( EntryMethod <> ShortEinstieg );
ShortSignal = ( result Crosses Under PivotValue ) And ( EntryMethod <> LongEinstieg );
If LongSignal Then
Buy( "RSLevy" ) Next Bar at Market
Else If ShortSignal Then
Short( "RSLevy" ) Next Bar at Market;
Ulcer Index:
Inputs:
Price( Close ),
Period( 10, 1 ),
LookBack( 2, 1 ),
EntryMethod( LongEntry, ShortEntry, Both ) = Both;
Variables:
result, longSig, shortSig;
result = UlcerIndex( Price, Period );
longSig = ( result > result[LookBack] ) And ( Close > Open ) And ( EntryMethod <> ShortEntry );
shortSig = ( result > result[LookBack] ) And ( Close < Open ) And ( EntryMethod <> LongEntry );
If longSig Then
Buy( "Ulcer" ) Next Bar at Market
Else If shortSig Then
Short( "Ulcer" ) Next Bar at Market;
Vielen Dank die Hilfe im Voraus
Marc