I have sent Great VisualJForex strategy to contest server directly from Visual JForex. The generated code has no comments. It is very easy and straightforward to follow the code generated but is better if you know which are the principal variables and logic evolved in the strategy, so here they are.

Code variables are written in bold and cursive.

Instrument and Time Period

EURUSD 15m


Position Management

Only one position (contest rules)


Openning Point of the Position

Enter the market at the beginning of the bar.


Openning Rules

intervalAmplitudPips > 64

absIntervalRatio > 2.2

if intervalRatio > 0 then enterLong

if intervalRatio < 0 then enterShort


Closing Rules

defaultStoploss = 31% of intervalAmplitudPips

defaultTakeProfit = 18% of intervalAmplitudPips


Risk Management

defaultAmount calculated from defaultStopLoss and 25% of optimal F. Optimal F is calculated once externally at the beginning of the contest.


Indicators

Calculation of indicators is as follow:

intervalAmplitudPips = highestHigh(72) - lowestLow(72)

absIntervalRatio = abs(intervalRatio)

intervalRatio = averageFast/averageSlow

averageFast = fastSum/3

averageSlow = slowSum/58

fastSum = summatory over last 3 candles (close-open)

slowSum = summatory over last 58 candles (close-open)


If there is interest in this strategy I can explain and comment further details.


Good Luck!

翻訳する: 英語 オリジナルを表示