Is it possible to control AT by power language?

Questions about MultiCharts and user contributed studies.
TW
Posts: 31
Joined: 14 Dec 2009
Has thanked: 5 times
Been thanked: 1 time

Is it possible to control AT by power language?

Postby TW » 16 Mar 2010

Is there any function or method of power language to control auto trading status to be disable or enable?

Thank you!
Last edited by TW on 16 Mar 2010, edited 1 time in total.

geektrader
Posts: 100
Joined: 17 Jul 2009
Location: Germany

Postby geektrader » 16 Mar 2010

No. But I also would like this feature. This would for example be good to turn auto-trading on / off basing on equity curve momentum.

TW
Posts: 31
Joined: 14 Dec 2009
Has thanked: 5 times
Been thanked: 1 time

Postby TW » 16 Mar 2010

Yeah, I really need this for equity curve momentum. I hope TSS team could provide this function in next version.

User avatar
Bruce DeVault
Posts: 438
Joined: 19 Jan 2010
Location: Washington DC
Been thanked: 2 times
Contact:

Postby Bruce DeVault » 18 Mar 2010

In order to do this currently in EasyLanguage, you would need to track your own simulated equity curve in memory (keeping track of what your fills would be according to whatever your fill assumptions are), then take or not take the "real" trades based on this.

wegi
Posts: 124
Joined: 02 Jun 2009
Has thanked: 5 times
Been thanked: 13 times

Postby wegi » 18 Mar 2010

I think a workaround could be working with global variables, with pushpop.dll.
You can setup 2 charts with the same system.
Chart 1 stores the equity line in the global variable. This chart is not for autotrading, only for the equitycurve.
in chart 2 you can access it, calculate what you want and do trading or not.

but iam not sure what happens when charts are refreshed.
chart 1 should be refresht first.... maybee a little bit to tricky :-)


Return to “MultiCharts”