How to remove an indicator called by a strategy?

How to create strategies and indicators
Message
Author
User avatar
Tantalus
Posts: 302
Joined: Fri Mar 23, 2007 3:51 pm
Contact:

How to remove an indicator called by a strategy?

#1 Postby Tantalus » Fri Oct 19, 2007 12:08 pm

When I use CreateIndicator/GetIndicatorValue in a strategy, it creates an indicator on the Testing Mode screen. When I disable the strategy, or switch to another one, the indicator stays there and I have to manually delete it.

Is there a way to code my strategy so that the indicator is removed by the same strategy which created it?

Thnks..

:)

User avatar
Terranin
Site Admin
Posts: 833
Joined: Sat Oct 21, 2006 4:39 pm

Re: How to remove an indicator called by a strategy?

#2 Postby Terranin » Sun Nov 04, 2007 1:57 pm

Tantalus wrote:When I use CreateIndicator/GetIndicatorValue in a strategy, it creates an indicator on the Testing Mode screen. When I disable the strategy, or switch to another one, the indicator stays there and I have to manually delete it.

Is there a way to code my strategy so that the indicator is removed by the same strategy which created it?

Thnks..

:)


No, there is no way to delete indicator from strategy but I will write a note to make it in future.
Hasta la vista
Mike

mspen
Posts: 8
Joined: Wed Sep 10, 2008 3:57 pm
Location: San Diego

How to remove an indicator called by a strategy?

#3 Postby mspen » Fri Jan 20, 2012 11:55 pm

Any chance that the removal was added later?

I forget and run several tests then when I look at some setting I notice that I have twenty instances of the indicator. It doesn't seem to bother anything, but it would be nice only to have one.


Return to “FT API”

Who is online

Users browsing this forum: No registered users and 19 guests