[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Horizontal Line drawing - suggestion - Tomasz?



PureBytes Links

Trading Reference Links

Thomasz, 

>> It is beyond me why you would want to implement such weirdness.
>> Isn't it just better / easier and obvious to write:
>> CompareTicker = ParamStr( "Compare with:", CompareTickerDefault );

I think there might be a misunderstanding, sorry, if I could not make 
my point perfectly clear. My point was about the internal handling of 
a ParamStr as a constant. The inclusion of Name() inside 
the "Compare with" referral is not important, it just made me (and 
maybe others) understand how ParamStr() works.. I'll try to rephrase 
what I attempt to do, so maybe my question becomes better 
understandable: 

I want to set up a chart which is comparing the currently selected 
stock with another stock and plot it in an indicator window. This 
comparison should 

first - default ('CompareTickerDefault') to the related index on 
selecting the stock 

then - be able to select a different stock ('CompareTicker')to 
compare current stock with and 

last - on selecting the next stock switch back and compare with 
default ('CompareTickerDefault') and forget the last changes made.

Maybe I'm missing some very simple point in this about how to get 
there but it's the last point that my Question relates to. Let's say 
I select INTC and the COMP (^IXIC) shows up as the default 
comparison. Then I press CTRL-R and change the variable to CSCO which 
works fine. If I select MU as the next stock I find the comparison 
stays with CSCO instead of switching back to the COMP.

>> So my answer is *NO*. I won't implement such useless functionality.

So I still think it it would be nice if there was a way to reassign 
or flush the variable stored inside the indicator parameters IMHO and 
I don't think it would be useless. That's what I meant when I asked 
about "Either as a 'delete_variable()' or maybe event-driven through 
a script like 'on_LBtn_click', 'on_next_stock' 
or 'do_only_once_until_whatever'..."

Sorry again if my capabilities to express or solve the point are 
limited but there's certainly no need for you to get aggrevated about 
my question.

Thanks for your time and best regards

Andreas



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/