Built in Strategy "Trendline LE"

Questions about MultiCharts and user contributed studies.
iso
Posts: 204
Joined: 08 Feb 2006
Has thanked: 1 time
Been thanked: 1 time

Built in Strategy "Trendline LE"

Postby iso » 06 Apr 2011

Hi,

I am trying to use the built in strategy "Trendline LE". When I turn it on it generates an order but as a new bar forms a new order is placed on top of the existing order. So if you are running it on a 1 min chart and 10 min goes by you will have 10 live orders running. Is there a way to fix this?

Thanks

User avatar
Stan Bokov
Posts: 963
Joined: 18 Dec 2009
Has thanked: 367 times
Been thanked: 300 times

Re: Built in Strategy "Trendline LE"

Postby Stan Bokov » 08 Apr 2011

That means the strategy conditions are met on every bar - that's why you are seeing an order on every bar. You may have pyramiding turned on in your Strategy Properties (i.e. "Allow 10 entries in the same direction as the same entry", etc). Turn it off, and you should have only one entry.

Also, you are using one signal, which is a building block of a strategy, with the ending LE. LE stand for Long Entry, you might want to use it in combination with another signal that ends with SE (short entry) or LX (long exit).

iso
Posts: 204
Joined: 08 Feb 2006
Has thanked: 1 time
Been thanked: 1 time

Re: Built in Strategy "Trendline LE"

Postby iso » 08 Apr 2011

Under "position limits" in the strategy properties, allow up to "n" is not checked so something else is happening here. Can you guys check on your end to confirm this?

Thanks

User avatar
Stan Bokov
Posts: 963
Joined: 18 Dec 2009
Has thanked: 367 times
Been thanked: 300 times

Re: Built in Strategy "Trendline LE"

Postby Stan Bokov » 08 Apr 2011

Please come to our Live Chat to further investigate this issue. Either the signal or your settings are causing a purchase on every bar. If the conditions continue being met, there is nothing wrong with buying on every bar until your strategy runs out of money.

User avatar
Stan Bokov
Posts: 963
Joined: 18 Dec 2009
Has thanked: 367 times
Been thanked: 300 times

Re: Built in Strategy "Trendline LE"

Postby Stan Bokov » 08 Apr 2011

Please come to our Live Chat to further investigate this issue. Either the signal or your settings are causing a purchase on every bar. If the conditions continue being met, there is nothing wrong with buying on every bar until your strategy runs out of money.

iso
Posts: 204
Joined: 08 Feb 2006
Has thanked: 1 time
Been thanked: 1 time

Re: Built in Strategy "Trendline LE"

Postby iso » 08 Apr 2011

Yes the condition is met on each bar but the previous order should be canceled if it is going to generate a new order.

User avatar
Stan Bokov
Posts: 963
Joined: 18 Dec 2009
Has thanked: 367 times
Been thanked: 300 times

Re: Built in Strategy "Trendline LE"

Postby Stan Bokov » 08 Apr 2011

It can't be cancelled if it was filled. If you want to close the previous order, use 'sell' to get back to flat.

iso
Posts: 204
Joined: 08 Feb 2006
Has thanked: 1 time
Been thanked: 1 time

Re: Built in Strategy "Trendline LE"

Postby iso » 08 Apr 2011

no the entry order is never filled. an order is placed, a new bar forms and the existing order does not get cancelled as it places a new entry order. so for every new bar it places a new entry order without cancelling the existing unfilled order.

iso
Posts: 204
Joined: 08 Feb 2006
Has thanked: 1 time
Been thanked: 1 time

Re: Built in Strategy "Trendline LE"

Postby iso » 08 Apr 2011

Here is a screenshot...
Attachments
04-08-11_14.15.46001.png
04-08-11_14.15.46001.png (129.96 KiB) Viewed 341 times

User avatar
Stan Bokov
Posts: 963
Joined: 18 Dec 2009
Has thanked: 367 times
Been thanked: 300 times

Re: Built in Strategy "Trendline LE"

Postby Stan Bokov » 12 Apr 2011

Please come to Live Chat, so our tech can look at all of your local settings.


Return to “MultiCharts”