Is there any function or method of power language to control auto trading status to be disable or enable?
Thank you!
Is it possible to control AT by power language?
-
- Posts: 100
- Joined: 17 Jul 2009
- Location: Germany
- Bruce DeVault
- Posts: 438
- Joined: 19 Jan 2010
- Location: Washington DC
- Been thanked: 2 times
- Contact:
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
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