Hi to everyone,
is it possible to turn on-off auto-trading programmatically thru powerlanguage?
Thanks
Fabrizio
Turn on-off auto trading programmatically
- TJ
- Posts: 7744
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Turn on-off auto trading programmatically
Yes, you can turn off auto-trade.
All you need is a criteria for turning it off, and it will be off.
All you need is a criteria for turning it off, and it will be off.
Re: Turn on-off auto trading programmatically
Could you tell me what code I have to insert?Yes, you can turn off auto-trade.
All you need is a criteria for turning it off, and it will be off.
Thanks
- TJ
- Posts: 7744
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Turn on-off auto trading programmatically
You have to first decide on your criteria for turning off auto-trading.Could you tell me what code I have to insert?Yes, you can turn off auto-trade.
All you need is a criteria for turning it off, and it will be off.
Thanks
Time? Price? Volatility? Equity? . . .
Re: Turn on-off auto trading programmatically
Thanks for the replay, i've already a criteria, based on AVR Trade. What I'd need it's the part of the code to turn on-off the autotrading on power language.You have to first decide on your criteria for turning off auto-trading.Could you tell me what code I have to insert?Yes, you can turn off auto-trade.
All you need is a criteria for turning it off, and it will be off.
Thanks
Time? Price? Volatility? Equity? . . .
Fabrizio
- TJ
- Posts: 7744
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2224 times
Re: Turn on-off auto trading programmatically
There is no button or keyword that turns auto-trading ON/OFF.Thanks for the replay, i've already a criteria, based on AVR Trade. What I'd need it's the part of the code to turn on-off the autotrading on power language.You have to first decide on your criteria for turning off auto-trading.
Could you tell me what code I have to insert?
Thanks
Time? Price? Volatility? Equity? . . .
Fabrizio
You simply add your criteria to the logic whether you should trade or not.
Here's an example based on a time criteria:
See post #15
viewtopic.php?t=10811