Inputting script settings
Author: traderray
Creation Date: 4/9/2010 3:28 PM
profile picture

traderray

#1
I am developing a script that uses sliding parameters to set up binary conditions of either 0 or 1, true or false, that I check inside my script. This was working great. I encountered what appears to be a limit of 6 sliding parameters. Is this a limit?

If so, I could use radio buttons to set up the conditions and have more than 6. Does anyone have a simple example of using buttons to enter data into the script?
profile picture

Eugene

#2
No, there is no such limitation as 6 parameters. btw, do you see the scroll bar there? How does the code that deals with the parameters look like?
profile picture

traderray

#3
I was at a different computer when I saw your response. I tried it on this computer and everything worked ok. I am getting the 7th parameter shown with no problem. I copied this script that is working on this computer to my other computer and I am only getting 6 parameters showing on that computer using the very same script.
profile picture

Eugene

#4
Can you post the strategy fragment that deals with the parameters - their definition and the constructor?
profile picture

traderray

#5


CODE:
Please log in to see this code.
profile picture

Eugene

#6
This code snippet is OK. Do you see the scroll bar there? Can you take a screenshot of "I am only getting 6 parameters showing..."?
profile picture

traderray

#7
Eugene,

I have determined the source of the problem. If you have your text size thru Control Panel set to "small", all sliders are shown (I have gone up to 8). If you have the text size set at "medium", only 6 sliders are shown. If you have the text set at "large" only 5 are displayed.
profile picture

Cone

#8
Sure, but in no case should it be a problem. As Eugene suggested, a vertical scrollbar appears when sliders are out of view. Scroll to change those sliders.

Now, it's a problem if you don't get a scrollbar... do you?
profile picture

traderray

#9
When i set the text to small I get the scroll bar. When I scroll to the bottom of the list I see all of the parameters I am using in the scroll list.

When i set the text to medium I get the scroll bar. When I scroll to the bottom of the list I see only the first 6 of the parameters I am using in the scroll list.

When i set the text to large I get the scroll bar. When I scroll to the bottom of the list I see only the first 5 of the parameters I am using in the scroll list.

I have seen this on two of the computers that I am using. I have a friend that is seeing the same thing on his computer.
profile picture

Eugene

#10
Any difference if you use the mouse wheel in the strategy parameter area?
profile picture

Cone

#11
Okay thanks for the info, please create a Support Ticket with a reference to this thread. We'll get a bug report entered.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).