35 lines
1.1 KiB
JSON
35 lines
1.1 KiB
JSON
{
|
|
"type": "Formula",
|
|
"menuItems": [
|
|
{
|
|
"action": "Edit",
|
|
"label": "Edit",
|
|
"iconPathOn": "javascript-code",
|
|
"iconPathOff": "javascript-code",
|
|
"dontShowAtFullscreen": true,
|
|
"actionFunction": "uiObject.formulaEditor.activate"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete-entity",
|
|
"iconPathOff": "delete-entity",
|
|
"actionFunction": "payload.executeAction"
|
|
}
|
|
],
|
|
"addLeftIcons": true,
|
|
"editors": {
|
|
"formula": true
|
|
},
|
|
"initialValues": {
|
|
"code": "// Type your formula"
|
|
},
|
|
"level": 4,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Target Size In Base Asset->Target Size In Quoted Asset->Target Rate->Phase->Simulated Actual Rate->Situation->Indicator Function->Order Rate->Social Bot Command->"
|
|
},
|
|
"propertyNameAtParent": "formula"
|
|
} |