WatchlistRenamedEventArgs
Summary
Occurs when the watchlist is renamed.
Signature
| public class WatchlistRenamedEventArgs
|
Namespace
cAlgo.API
Examples
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 | using cAlgo.API;
namespace cAlgo
{
// This sample shows how to use WatchlistRenamedEventArgs
[Indicator(IsOverlay = true, TimeZone = TimeZones.UTC, AccessRights = AccessRights.None)]
public class WatchlistRenamedEventArgsSample : Indicator
{
protected override void Initialize()
{
Watchlists.WatchlistRenamed += Watchlists_WatchlistRenamed;
}
private void Watchlists_WatchlistRenamed(WatchlistRenamedEventArgs obj)
{
Print("Watchlist renamed to {0}", obj.Watchlist.Name);
}
public override void Calculate(int index)
{
}
}
}
|
See Also
Properties
Watchlist
Summary
Gets the watchlist.
Signature
| public Watchlist Watchlist {get;}
|
Return Value
Watchlist