Standard Trend Trader

Robertmal

Newbie
Messages
2
Likes
0
This is your standard trend trader with a few adjustments.

Please see attached images. Code is also available for download. System was coded using ACM ProBacktest. All tests were done with 100 PIP stops.

Comments and or suggestions are invited.


RobertMal.
 

Attachments

  • AUDUSD.jpg
    AUDUSD.jpg
    106.8 KB · Views: 307
  • Detailed report for AUDUSD.jpg
    Detailed report for AUDUSD.jpg
    100.3 KB · Views: 273
  • GBPJPY.jpg
    GBPJPY.jpg
    93.6 KB · Views: 264
  • Detailed report for GPBJPY.jpg
    Detailed report for GPBJPY.jpg
    98.6 KB · Views: 259
  • EURUSD.jpg
    EURUSD.jpg
    95 KB · Views: 244
  • Detailed report for EURUSD.jpg
    Detailed report for EURUSD.jpg
    98.7 KB · Views: 227
  • GPBUSD.jpg
    GPBUSD.jpg
    99.3 KB · Views: 304
  • Detailed report for GPBUSD.jpg
    Detailed report for GPBUSD.jpg
    99.2 KB · Views: 244
  • USDJPY.jpg
    USDJPY.jpg
    91.4 KB · Views: 235
  • Detailed report for USDJPY.jpg
    Detailed report for USDJPY.jpg
    99.4 KB · Views: 295
  • Indicators.jpg
    Indicators.jpg
    91.1 KB · Views: 254
  • pips.txt
    995 bytes · Views: 509
Thanks for sharing this. However, all is not well....

The backtest uses dclose(0), which represents the close of the current day. So it is looking forward before deciding whether to trade. That'll plot a great equity curve every time, but you'd need superpowers to actually trade it. Sorry!
 
Thank your for responding.

It's good to see somebody speaking ProBacktest language. Here is a detailed explanation of the code. If after reading it, you still believe that I would need Superman's cape then I would have to design another system.


Here is the breakdown of the program.

//triggers

Under this section the program checks to see if a 7 period simple moving average is greater than a 50 period simple moving average on the daily chart.

// filters

Under this section we have the Range Action Verification Index (RAVI), Channel Ten, and the Guide.

The RAVI does a similar job as the ADX by checking the daily chart to see if there is a trend.

Channel Ten sets up three 10 period exponential moving averages on the h1 chart as shown in the ''indicator.jpg'' attachment. Only two are used in the program.

The Guide is a 3 period exponential moving average; If the Guide is below the 10 period exponential moving average of the low of the bar, then the Guide and Channel Ten are in sell mode. If the Guide is above the 10 period exponential moving average of the high of the bar, then the Guide and Channel Ten are in buy mode.

//short

Under this section the program will check the value of the RAVI, and match it to a defined setting, here 0.7 is used The program will then check the status of Channel Ten for sell mode .

//long

Just the opposite of the function under "//short" with the RAVI again set to match 0.7.


The program will go long on market if both the conditions under "//long" and "//trigger" are in buy mode. The program will sell if the 7 period simple moving average becomes less than the 50 period moving average on the daily chart.

Again the opposite will happen for shorting the market and exiting the short.


Robermal
 
Top