Investment Plan added
This commit is contained in:
1 parent
c9ed3cb78e
commit
6eb8e0a8b7
6 files changed
+125
-117
No files matched your search
@@ -44,39 +44,6 @@ function newStrategyPartTitle () {
|
||||
function initialize (payload) {
|
||||
thisObject.payload = payload
|
||||
|
||||
switch (payload.node.type) {
|
||||
case 'Strategy': {
|
||||
break
|
||||
}
|
||||
case 'Strategy Entry Event': {
|
||||
break
|
||||
}
|
||||
case 'Strategy Exit Event': {
|
||||
break
|
||||
}
|
||||
case 'Trade Entry Event': {
|
||||
break
|
||||
}
|
||||
case 'Stop': {
|
||||
break
|
||||
}
|
||||
case 'Take Profit': {
|
||||
break
|
||||
}
|
||||
case 'Phase': {
|
||||
break
|
||||
}
|
||||
case 'Situation': {
|
||||
break
|
||||
}
|
||||
case 'Condition': {
|
||||
break
|
||||
}
|
||||
default: {
|
||||
if (ERROR_LOG === true) { logger.write('[ERROR] initialize -> Part Type not Recognized -> type = ' + payload.node.type) }
|
||||
}
|
||||
}
|
||||
|
||||
selfFocusEventSubscriptionId = thisObject.container.eventHandler.listenToEvent('onFocus', onFocus)
|
||||
selfNotFocuskEventSubscriptionId = thisObject.container.eventHandler.listenToEvent('onNotFocus', onNotFocus)
|
||||
selfMouseClickEventSubscriptionId = thisObject.container.eventHandler.listenToEvent('onMouseClick', onMouseClick)
|
||||
|
||||
Reference in new issue
Block a user