TrailingStopStrategy

Strategies are published here.

Moderator: admin

Re: TrailingStopStrategy

Postby Apprentice » Mon Apr 23, 2018 5:15 am

Then you choose trade or order "(non-FIFO) Choose Trade" strategy will be active while strategy/order is present.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: TrailingStopStrategy

Postby Reymondpolanco » Mon Apr 23, 2018 8:53 am

Now im getting this error
Attachments
error.png
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Re: TrailingStopStrategy

Postby Apprentice » Tue Apr 24, 2018 1:32 am

You use 141585 on GBP/USD
missed the "."
1.41585
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: TrailingStopStrategy

Postby Reymondpolanco » Tue Apr 24, 2018 2:37 pm

Check now i put all price levels correctly and i get tha same error 3 times check the blue square and the strategy i think is taking a wrong price level check the red square
Attachments
error.png
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Re: TrailingStopStrategy

Postby Reymondpolanco » Sun May 13, 2018 10:18 am

Reymondpolanco wrote:Check now i put all price levels correctly and i get tha same error 3 times check the blue square and the strategy i think is taking a wrong price level check the red square



Any news about this error ?
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Re: TrailingStopStrategy

Postby Apprentice » Sun May 20, 2018 11:23 am

Try it now.
Attachments
TrailingStopStrategy.Reymondpolanco.lua
(16.53 KiB) Downloaded 695 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: TrailingStopStrategy

Postby Reymondpolanco » Sun May 20, 2018 12:12 pm

Apprentice wrote:Try it now.


I try this version the error dont come again but when the price touch the 1 level the stop perfectly move to the break even but when the price reach the 2 level the stop did't move to the 1 level and do the same thing with the other levels, in conclusion the stop only move when the price reach the level 1
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Re: TrailingStopStrategy

Postby Reymondpolanco » Thu May 24, 2018 2:53 pm

Reymondpolanco wrote:
Apprentice wrote:Try it now.


I try this version the error dont come again but when the price touch the 1 level the stop perfectly move to the break even but when the price reach the 2 level the stop did't move to the 1 level and do the same thing with the other levels, in conclusion the stop only move when the price reach the level 1


Please solve this :| :| :| :| :| i really need that
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Re: TrailingStopStrategy

Postby Reymondpolanco » Fri Jun 01, 2018 7:07 pm

Reymondpolanco wrote:
Apprentice wrote:Try it now.


I try this version the error dont come again but when the price touch the 1 level the stop perfectly move to the break even but when the price reach the 2 level the stop did't move to the 1 level and do the same thing with the other levels, in conclusion the stop only move when the price reach the level 1


Any news about this error ?
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

Re: TrailingStopStrategy

Postby Reymondpolanco » Mon Jun 18, 2018 2:54 pm

Apprentice wrote:Try it now.


I try this version the error dont come again but when the price touch the 1 level the stop perfectly move to the break even but when the price reach the 2 level the stop did't move to the 1 level and do the same thing with the other levels, in conclusion the stop only move when the price reach the level 1
Reymondpolanco
FXCodeBase: Initiate
 
Posts: 160
Joined: Sat Jun 17, 2017 3:07 pm

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: Google [Bot] and 21 guests