Strategy problem

Questions about MultiCharts and user contributed studies.
Jimmyrakete
Posts: 147
Joined: 04 Jun 2014
Has thanked: 2 times

Strategy problem

Postby Jimmyrakete » 23 Sep 2021

Screenshot_158.png
(10.09 KiB) Not downloaded yet
I have developed a strategy that works very well in testing.

But in live trading it opens the position and closes it automatically in the coming bar.
Is there a function that I have overlooked in the strategy setting that triggers such a thing?

Maybe the log can help

Image
Attachments
Screenshot_159.png
(11.46 KiB) Not downloaded yet

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Strategy problem

Postby TJ » 23 Sep 2021

How did you do your testin?
Back test? or Forward test? Real time Papertrading account?

Jimmyrakete
Posts: 147
Joined: 04 Jun 2014
Has thanked: 2 times

Re: Strategy problem

Postby Jimmyrakete » 23 Sep 2021

a backtest, the code was created with Adaptrade Builder

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Strategy problem

Postby TJ » 24 Sep 2021

If this is a coding question, you will need to post your codes.


Return to “MultiCharts”