104 lines
3.0 KiB
JSON
104 lines
3.0 KiB
JSON
{
|
|
"type": "Stop Loss",
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration",
|
|
"actionFunction": "uiObject.configEditor.activate"
|
|
},
|
|
{
|
|
"action": "Add Missing Children",
|
|
"label": "Add Missing Children",
|
|
"relatedUiObject": "Trading Parameters",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting",
|
|
"relatedUiObjectProject": "Foundations"
|
|
},
|
|
{
|
|
"action": "Copy Node Path",
|
|
"label": "Copy Node Path",
|
|
"iconPathOn": "copy-path",
|
|
"iconPathOff": "copy-path",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting"
|
|
},
|
|
{
|
|
"action": "Copy Node Value",
|
|
"label": "Copy Node Value",
|
|
"iconPathOn": "copy-value",
|
|
"iconPathOff": "copy-value",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting"
|
|
},
|
|
{
|
|
"action": "Copy Node Type",
|
|
"label": "Copy Node Type",
|
|
"iconPathOn": "copy-type",
|
|
"iconPathOff": "copy-type",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete-entity",
|
|
"iconPathOff": "delete-entity",
|
|
"actionFunction": "payload.executeAction"
|
|
}
|
|
],
|
|
"editors": {
|
|
"config": true
|
|
},
|
|
"initialValues": {
|
|
"config": "{\n\"initialValue\": 0\n}"
|
|
},
|
|
"addLeftIcons": true,
|
|
"level": 3,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Position->"
|
|
},
|
|
"propertyNameAtParent": "stopLoss",
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "begin",
|
|
"type": "node",
|
|
"childType": "Begin",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "end",
|
|
"type": "node",
|
|
"childType": "End",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "stopLossPhase",
|
|
"type": "node",
|
|
"childType": "Stop Loss Phase",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "stopLossPosition",
|
|
"type": "node",
|
|
"childType": "Stop Loss Position",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "initialValue",
|
|
"type": "node",
|
|
"childType": "Initial Value",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "finalValue",
|
|
"type": "node",
|
|
"childType": "Final Value",
|
|
"autoAdd": true
|
|
}
|
|
]
|
|
} |