WRB002 Strategy

Strategies are published here.

Moderator: admin

WRB002 Strategy

Postby Apprentice » Wed Feb 13, 2019 5:18 am

1.png

2.png

Based on request.
viewtopic.php?f=27&t=66479
WRB002 Strategy.lua
(107.12 KiB) Downloaded 62 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 20795
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: WRB002 Strategy

Postby cfbaua » Thu Feb 14, 2019 12:43 pm

I get the following message when I try back-testing on tick charts


Message Time
C:/Program Files (x86)/Candleworks/FXTS2/Strategies/Custom/WRB002 Strategy.lua:75: Object is broken or '.' symbol is used instead of ':'. 02/14/2019 10:43:01
Attachments
Error_02142019.jpg
cfbaua
 
Posts: 24
Joined: Wed Aug 08, 2018 10:42 am


Re: WRB002 Strategy

Postby cfbaua » Mon Feb 18, 2019 12:53 pm

The selector panel to choose a timeframe does not work when you load it in the strategy optimizer
Attachments
WRB2_v2_02182019.jpg
cfbaua
 
Posts: 24
Joined: Wed Aug 08, 2018 10:42 am

Re: WRB002 Strategy

Postby cfbaua » Tue Feb 19, 2019 1:25 pm

HERE are two visual representations of the trading rules for WRB002
At present the rules have not been coded correctly. Please see attached pictures for the correct rules
Attachments
WRB002 Long Entry And Exit Rules.jpg
cfbaua
 
Posts: 24
Joined: Wed Aug 08, 2018 10:42 am

Re: WRB002 Strategy

Postby cfbaua » Tue Feb 19, 2019 7:07 pm

Here is the second picture
Attachments
WRB002 Trading Rules.jpg
cfbaua
 
Posts: 24
Joined: Wed Aug 08, 2018 10:42 am

Re: WRB002 Strategy

Postby cfbaua » Wed Feb 20, 2019 8:59 am

Short Entry and exit rules for WRB002 strategy
Attachments
WRB002 SHORT Entry And Exit Rules.png
cfbaua
 
Posts: 24
Joined: Wed Aug 08, 2018 10:42 am

Re: WRB002 Strategy

Postby cfbaua » Sun Feb 24, 2019 11:53 am

I changed some of the code in the WRB0002 strategy and saved it with a new name WRB2. Entry points for long and shorts positions seem OK now, but the exit positions for long and short trades (at the bollinger middleband) do not work. Please see if you can correct this for me. I am not so good in lua programming (yet)
Attachments
WRB2.lua
(107.29 KiB) Downloaded 28 times
cfbaua
 
Posts: 24
Joined: Wed Aug 08, 2018 10:42 am

Re: WRB002 Strategy

Postby cfbaua » Sun Feb 24, 2019 11:53 am

I changed some of the code in the WRB0002 strategy and saved it with a new name WRB2. Entry points for long and shorts positions seem OK now, but the exit positions for long and short trades (at the bollinger middleband) do not work. Please see if you can correct this for me. I am not so good in lua programming (yet)
cfbaua
 
Posts: 24
Joined: Wed Aug 08, 2018 10:42 am

Re: WRB002 Strategy

Postby Apprentice » Thu Feb 28, 2019 5:47 am

Your request is added to the development list under Id Number 4504
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 20795
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 6 guests