| miko 68 posts
 msg #92371
 - Ignore miko
 | 5/9/2010 1:14:20 AM 
 I have various scans based on percentage moves. I would like to be able to adjust the default values via an outside value. For example, I might decide after a 3% down move in the market I want 3% more than my default values. I thought I could create a varaiable (eg PCTAdj) and then use that variable in a set statement (eg Set {AA, .97 - PCTAdj}), but doesn't seem to work (debug reports a syntax error). Any ideas as to what I am doing wrong, an alternative approach, or that it is simply undoable.
 
 
 | 
| four 5,087 posts
 msg #92372
 - Ignore four
 modified
 | 5/9/2010 1:24:17 AM 
 
 
 
 
 | 
| miko 68 posts
 msg #92373
 - Ignore miko
 | 5/9/2010 1:45:25 AM 
 I guess I wasn't clear (won't be the first time :). Let's say I have 3 scans, looking for down moves of 3%, 5% and 7%. Rather than changing each scan, I am looking to have a global variable so I can make one change that affects each scan. For instance, if I decide each one needs an additional 1% move, I would want to make a global variable equal to .01 that would be accessible to each of the scans so they would become 4%, 6%, and 8%. Changing 3 scans is no big deal, but what about 10 scans? 20 scans?
 
 
 | 
| four 5,087 posts
 msg #92380
 - Ignore four
 modified
 | 5/9/2010 11:24:08 AM 
 http://forums.stockfetcher.com/stockdb/fetcher?p=varhelp
 
 LOCATION
 http://forums.stockfetcher.com/stockdb/fetcher?p=uservars&qrid=help
 
 
 | 
| miko 68 posts
 msg #92390
 - Ignore miko
 | 5/9/2010 9:55:37 PM 
 Familiar already. Was there something specific helpful?
 
 Maybe somebody else can try what I have tried. Establish a variable (eg A = 1) in the settings and then try to reference it in a set statement in a filter (eg Set{B, A})--I get a syntax error.
 
 
 | 
| four 5,087 posts
 msg #92396
 - Ignore four
 modified
 | 5/9/2010 11:18:58 PM 
 variable name: mine
 value: 1
 
 
 
 --
 filter:
 
 
 
 
 
 
 | 
| miko 68 posts
 msg #92412
 - Ignore miko
 | 5/10/2010 9:43:07 AM 
 Yes, that produces results, the universe. But if you look at debug you should see a syntax error, at least I do. It is not working as expected.
 
 
 | 
| four 5,087 posts
 msg #92420
 - Ignore four
 | 5/10/2010 2:56:54 PM 
 Yes
 Errors show in debug
 
 --
 I guess an email could be sent to support.
 
 
 | 
| miko 68 posts
 msg #92441
 - Ignore miko
 | 5/10/2010 10:55:07 PM 
 Thanks, four, for your attention. I have forwarded a link to this thread and a brief description to support.
 
 
 | 
| four 5,087 posts
 msg #92483
 - Ignore four
 | 5/11/2010 6:48:42 PM 
 bingo
 
 
 |