Strategy Builder

Strategies are published here.

Moderator: admin

Re: Strategy Builder

Postby Apprentice » Tue Oct 31, 2017 3:48 am

I failed to reproduce.
I tested within Backtester and Simulator.

Can you send Crash Report along with the settings used to my email.
mario(.)jemic(@)gmail(.)com

U will find it in
..\Program Files (x86)\Candleworks\FXTS2\crash
Capture.PNG

Make sure to copy it before TS restart.

After restart, the folder will be deleted.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Strategy Builder

Postby guangho » Sun Nov 05, 2017 2:17 pm

Apprentice wrote:I failed to reproduce.
I tested within Backtester and Simulator.

Can you send Crash Report along with the settings used to my email.
mario(.)jemic(@)gmail(.)com

U will find it in
..\Program Files (x86)\Candleworks\FXTS2\crash
Capture.PNG

Make sure to copy it before TS restart.

After restart, the folder will be deleted.


Hi,Apprentice,
Can you look at this article?
viewtopic.php?f=28&t=65097

I know the reason for the "Marketscope Bug"...
example:
function ExtAsyncOperationFinished(cookie,success,message)
if cookie == 200 and not success then
terminal:alertMessage(instance.bid:instrument(),instance.bid[NOW], "Open order failed !" .. message, instance.bid[NOW]);
elseif cookie == 200 then
terminal:alertMessage(instance.bid:instrument(), instance.bid[NOW], "Open order true !" .. message,instance.bid[NOW]);
end
end

The "ExtAsyncOperationFinished(cookie,success,message)" return the "message" is an nil.
SO:
function ExtAsyncOperationFinished(cookie,success,message)
if cookie == 200 and not success then
terminal:alertMessage(instance.bid:instrument(),instance.bid[NOW], "Open order failed !" .. message, instance.bid[NOW]);----can run
elseif cookie == 200 then
terminal:alertMessage(instance.bid:instrument(), instance.bid[NOW], "Open order true !" .. message,instance.bid[NOW]);----Will not run
end
end

When:
function ExtAsyncOperationFinished(cookie,success,message)
if cookie == 200 and not success then
terminal:alertMessage(instance.bid:instrument(),instance.bid[NOW], "Open order failed !" .. message, instance.bid[NOW]);----can run
elseif cookie == 200 then
terminal:alertMessage(instance.bid:instrument(), instance.bid[NOW], "Open order true !",instance.bid[NOW]);----can run
end
end

How can i return the requestId?
guangho
 
Posts: 72
Joined: Sat Sep 29, 2012 12:16 pm

Re: Strategy Builder

Postby Apprentice » Tue Nov 21, 2017 7:11 am

Sent to development team.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 17510
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Strategy Builder

Postby Paul W » Wed Nov 22, 2017 1:37 pm

Could you add:

Two Tick Timed Movinges Cross.lua
viewtopic.php?f=17&t=63125&hilit=TWO+TICK+TIMED+MOVINGES+CROSS

and

Tick Time Frame Distance from the moving average with Alert.lua
viewtopic.php?f=17&t=61337&hilit=DISTANCE+FROM+THE+MOVING+AVERAGE+WITH+ALERT

to the supported Indicator list

Thanks
Paul W
 
Posts: 84
Joined: Mon Apr 01, 2013 1:36 pm

Re: Strategy Builder

Postby Apprentice » Thu Nov 23, 2017 1:40 pm

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

Re: Strategy Builder

Postby fxninja33 » Fri Nov 24, 2017 8:04 am

Hi Apprentice,
Please can you add the "Close on opposite" functionality?

Thanks,
fxninja33
 
Posts: 5
Joined: Thu Aug 03, 2017 12:26 pm

Previous

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 4 guests