SO
Information
Username: | soonsa |
Member since: | 22 Apr 2020 |
Last login: | 22 Apr 2020 |
Status: | Active |
Activity
Where | Created | Comments |
---|---|---|
Algorithms | 0 | 3 |
Forum Topics | 0 | 0 |
Jobs | 0 | 0 |
Last Algorithm Comments
SO
I installed the "cAlgo.API.Alert" Nuget package and done everything that is written on github Wiki but it doesn't work.
SO
Hello, I need some help with adding this alert popup indicator to my MA crossover indicator. I wanna have telegram notifications. But when apply this to one of my charts, my cTrader crashes and close itself. Could you help me to set it up?
@afhacker
Thank you for your response.
The error message I get: "Indicator 'macross' caused cTrader application crash. It was removed from all charts. Indicator exception details:
LiteDB.LiteException: Cannot insert duplicate key in unique index '_id'. The duplicate value is '"637233397083142409_XAUUSD_Buy"'.
w LiteDB.Engine.IndexService.AddNode(CollectionIndex index, BsonValue key, PageAddress dataBlock, Byte level, IndexNode last)
w LiteDB.Engine.IndexService.AddNode(CollectionIndex index, BsonValue key, PageAddress dataBlock, IndexNode last)
w LiteDB.Engine.LiteEngine.InsertDocument(Snapshot snapshot, BsonDocument doc, BsonAutoId autoId, IndexService indexer, DataService data)
w LiteDB.Engine.LiteEngine.<>c__DisplayClass7_0.<Insert>b__0(TransactionService transaction)
w LiteDB.Engine.LiteEngine.AutoTransaction[T](Func`2 fn)
w cAlgo.API.Alert.Helpers.AlertManager.<>c__DisplayClass2_0.<<AddAlerts>b__0>d.MoveNext()
--- ---
w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
w cAlgo.API.Alert.Helpers.AlertManager.<AddAlerts>d__2.MoveNext()
--- ---
w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
w cAlgo.API.Alert.Helpers.AlertManager.<AddAlert>d__1.MoveNext()
--- ---
w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
w System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
w cAlgo.API.Alert.Launcher.<Launch>d__8.MoveNext()
--- ---
w System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
w System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
w System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
w System.Threading.ThreadPoolWorkQueue.Dispatch()