Topics
Replies
ctid256802
22 Nov 2016, 13:39
Hi manuoz2422
Yep, I presume there can be two options:
1. If you have access to the source code - you can edit it - just add the check that crossover happened and play/show an alert
2. Or you can make you own indicator - which will be simple a calls to this one (a wrapper) - and implement the alerts there.
I'd prefer the second approach but it's just a matter of your taste :)
@ctid256802
ctid256802
22 Nov 2016, 12:51
Hello
You can check an example of alert (it's a sound alert) for example here - /algos/indicators/show/203
And here is the sample of alert window - /algos/indicators/show/1425
@ctid256802
ctid256802
20 Nov 2016, 19:17
Hi tmc,
That was the rhetorical question :)
And thank you for the tip with text object - it could be an option for me. Thanks!
@ctid256802
ctid256802
20 Nov 2016, 00:12
RE:
tmc. said:
Hi, the indicator name must be constant value so it's not possible to change in runtime. By default it shows indicator name and its parameters in parentheses, therefore if the Period is a parameter then it should be printed on the chart as desired.
Hm... why it "must be constant"? Just a quick example: I'm making indicator for COT Reports. As the parameter the user supplies the market code - i.e. "094532". So it's not user friendly to see the name like "COTReport(094532)" - I want to show instead something like "COTReport(British Pound)" - which I can actually can do as I have a key-value map in my indicator.
In fact inability to set the name in runtime is really a big limitation which makes indicators less user-friendly.
@ctid256802
ctid256802
07 Feb 2017, 17:44
RE: RE:
hook_1000 said:
Hi hook,
Thank you for your answer - theidea is clear: all referenced DLLs go to each algo file. But wouldn't it be better to keep them separately? The problem is that I have bunch of indicators referencing same DLLs (actually I have 100+ of indicators) and as you can understand the whole size get really big. I would really appreciate to have an option - whether to have these references be buld inside algo file or be distrivuted separately.
@ctid256802