Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 02/21/26 19:15
Camera always moves upwards?
by clonman. 02/21/26 09:29
Zorro version 3.0 prerelease!
by TipmyPip. 02/20/26 13:22
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 02/19/26 13:22
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (USER0328, 1 invisible), 6,740 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
alx, ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon
19199 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Period Slider issue #461384
08/03/16 13:37
08/03/16 13:37
Joined: Jun 2016
Posts: 33
NC
C
Cstyle Offline OP
Newbie
Cstyle  Offline OP
Newbie
C

Joined: Jun 2016
Posts: 33
NC
I'm trying to trade a custom strategy while connected to IB. I set the slider for period to 20. I click Trade. The slider automatically goes to 60. The slider is then grayed out, which forces me to trade on the 60 time frame. How do I trade on different time frames?

Thanks!

Re: Period Slider issue [Re: Cstyle] #461385
08/03/16 13:40
08/03/16 13:40
Joined: Jun 2016
Posts: 33
NC
C
Cstyle Offline OP
Newbie
Cstyle  Offline OP
Newbie
C

Joined: Jun 2016
Posts: 33
NC
Ok, I just clicked stop, reset the slider to 20, and clicked trade again. This time it stayed on 20. Odd.

Is there a way to get it to default to something other than 60? Do I have to follow this same procedure of stopping and restarting in order to get the correct period, or am I doing something wrong?

Thanks!

Re: Period Slider issue [Re: Cstyle] #461393
08/03/16 17:01
08/03/16 17:01
Joined: Dec 2013
Posts: 568
Fuerth, DE
Sphin Offline
User
Sphin  Offline
User

Joined: Dec 2013
Posts: 568
Fuerth, DE
Why don't you set BarPeriod by script? The period slider then moves magically to the value you set there.

Re: Period Slider issue [Re: Sphin] #461414
08/04/16 13:55
08/04/16 13:55
Joined: Jul 2000
Posts: 28,074
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,074
Frankfurt
When a script is started the first time, the sliders move to their default positions. On all subsequent starts they keep their last positions.

Re: Period Slider issue [Re: Sphin] #461449
08/05/16 19:31
08/05/16 19:31
Joined: Jun 2016
Posts: 33
NC
C
Cstyle Offline OP
Newbie
Cstyle  Offline OP
Newbie
C

Joined: Jun 2016
Posts: 33
NC
Good advice. Thanks!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1