diff --git a/Projects/Foundations/Plugins/Data-Mines/Heikin.json b/Projects/Foundations/Plugins/Data-Mines/Heikin.json index 496eda9b2..209d5da81 100644 --- a/Projects/Foundations/Plugins/Data-Mines/Heikin.json +++ b/Projects/Foundations/Plugins/Data-Mines/Heikin.json @@ -9,7 +9,7 @@ { "type": "Indicator Bot", "name": "Heikin-Ashi Supertrend", - "config": "{ \n\"codeName\": \"Super-Trend\"\n}", + "config": "{\n \"codeName\": \"Heikin-Super-Trend\"\n}", "project": "Foundations", "processes": [ { @@ -26,7 +26,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Market Super Trend Heikin", "project": "Foundations", - "id": "0d185bdb-5920-4c58-86c8-8c17768271e6", + "id": "a90df71a-e27b-416c-9960-5b84713e120d", "savedPayload": { "position": { "x": 15089.736320825206, @@ -48,13 +48,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Market", - "id": "4bf59f83-d119-4ccb-9fe2-db7188b405e1" + "id": "7987beb0-fae5-4add-9289-853e5ffff68d" } } } ], "outputDatasetFolders": [], - "id": "1baf407a-5c8d-4118-8e91-8f112c2f80ca", + "id": "917b93af-3787-4cff-8854-f8c34242d126", "savedPayload": { "position": { "x": 15128.559177590585, @@ -84,14 +84,14 @@ "statusDependencies": [ { "type": "Status Dependency", - "name": "", + "name": "Heikin-Ashi Supertrend Multi-Time-Frame-Market", "config": "{ \n\"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "854e187d-334b-4b82-8c6a-c844ad5edf43", + "id": "df10d755-70a1-491c-8ca7-3ad8c9fc92ad", "savedPayload": { "position": { - "x": 15095.02774788672, - "y": 24219.590217757315 + "x": 15056.231630571769, + "y": 24246.254050455558 }, "targetPosition": { "x": 15245.02774788672, @@ -108,8 +108,8 @@ "uiObject": {}, "referenceParent": { "type": "Status Report", - "name": "New Status Report", - "id": "a706ed4b-4b21-4b54-b941-45ff85b6484d" + "name": "Heikin Supertrend", + "id": "bb959cd9-4f0b-47bf-aff3-e69660deb3a6" } } }, @@ -118,11 +118,11 @@ "name": "Candles Volumes Multi-Time-Frame-Market", "config": "{ \n\"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "0908390a-fada-46cf-9084-ca9b311bac2c", + "id": "c5f61af4-cb16-4a49-9548-bd2cc4721010", "savedPayload": { "position": { - "x": 15322.673461417475, - "y": 24189.620091005927 + "x": 15229.326961013836, + "y": 24179.808978466277 }, "targetPosition": { "x": 15245.02774788672, @@ -150,11 +150,11 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Market", "project": "Foundations", - "id": "d3816577-d941-4189-ad0e-ae7d9cf710b5", + "id": "1f935cf9-ebd1-48da-91bf-cd261995f725", "savedPayload": { "position": { - "x": 15504.83536902205, - "y": 24329.397838892648 + "x": 15408.419458391227, + "y": 24227.79666850902 }, "targetPosition": { "x": 15245.02774788672, @@ -175,10 +175,40 @@ "id": "2b03494a-67d6-47f1-89b6-53fc4c9116a8" } } + }, + { + "type": "Data Dependency", + "name": "Super Trend Heikin Multi-Time-Frame-Market", + "project": "Foundations", + "id": "19802aa4-1704-489e-b6ae-5a945bb1067e", + "savedPayload": { + "position": { + "x": 15525.10187583588, + "y": 24371.887454029056 + }, + "targetPosition": { + "x": 15245.02774788672, + "y": 24479.397838892648 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 2, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Dataset Definition", + "name": "Multi-Time-Frame-Market", + "id": "7987beb0-fae5-4add-9289-853e5ffff68d" + } + } } ], "dataMineDataDependencies": [], - "id": "48d3b0da-e9e4-4eb1-a25a-04c3b06a54ad", + "id": "c3d8ac95-ea15-4ef4-9827-98935d105130", "savedPayload": { "position": { "x": 15245.02774788672, @@ -203,9 +233,9 @@ }, "statusReport": { "type": "Status Report", - "name": "New Status Report", + "name": "Heikin Supertrend", "project": "Foundations", - "id": "a706ed4b-4b21-4b54-b941-45ff85b6484d", + "id": "bb959cd9-4f0b-47bf-aff3-e69660deb3a6", "savedPayload": { "position": { "x": 15379.514068711927, @@ -230,7 +260,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "b058d4e0-ffab-4205-a2e2-049a156d0c5b", + "id": "4343820c-4ebb-4b62-b20e-d9b18ecf4975", "savedPayload": { "position": { "x": 15457.159782242685, @@ -260,7 +290,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "0575581c-d459-48a2-972e-10dc36d0db95", + "id": "d277c5e4-0249-4a7c-b1ec-33c821db426c", "savedPayload": { "position": { "x": 15457.159782242685, @@ -281,7 +311,7 @@ "uiObject": {} } }, - "id": "49cf7b5d-8ce8-4b04-811b-36e09b363a44", + "id": "2e6565b0-452d-4826-8fd9-41f4cf74a51e", "savedPayload": { "position": { "x": 15167.382034355964, @@ -318,7 +348,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Daily Super Trend Heikin", "project": "Foundations", - "id": "84634d9b-574a-42c3-884e-690c0c359518", + "id": "83860763-a256-47e5-bcce-87c596b04728", "savedPayload": { "position": { "x": 15555.25, @@ -340,13 +370,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Daily", - "id": "d112584e-8ee9-4399-92c4-051197405b0e" + "id": "e173ac06-01d0-46e6-bc90-56b7432f5c0d" } } } ], "outputDatasetFolders": [], - "id": "24e389b1-33e9-4141-85f2-eff873b50f51", + "id": "bf527f05-02a1-4ca0-9044-1b6f9cf66122", "savedPayload": { "position": { "x": 15405.25, @@ -376,14 +406,14 @@ "statusDependencies": [ { "type": "Status Dependency", - "name": "", + "name": "Heikin-Ashi Supertrend Multi-Time-Frame-Daily", "config": "{ \n\"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "fb355b2e-2a5f-460d-a3b2-46f632560f4f", + "id": "dbd04cae-859f-426f-9427-5608d1e00edf", "savedPayload": { "position": { - "x": 15678.449331639838, - "y": 24579.706450751706 + "x": 15665.057621135331, + "y": 24571.5 }, "targetPosition": { "x": 15515.057621135331, @@ -400,8 +430,8 @@ "uiObject": {}, "referenceParent": { "type": "Status Report", - "name": "New Status Report", - "id": "fc634118-3456-4017-bdeb-eb7e38c953c7" + "name": "Heikin Supertrend", + "id": "6d3c01ea-8390-4343-ad02-977ca1f7f181" } } }, @@ -410,11 +440,11 @@ "name": "", "config": "{ \n\"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "ddbb3c4c-f5aa-49db-8b61-a75da44d245a", + "id": "b7a7ab00-3c44-40dd-9612-76b569e77a8b", "savedPayload": { "position": { - "x": 15748.201409572423, - "y": 24642.51150382038 + "x": 15727.189655491295, + "y": 24619.17558677937 }, "targetPosition": { "x": 15515.057621135331, @@ -441,11 +471,11 @@ "name": "Exchange Raw Data Historic-OHLCVs", "config": "{ \n\"mainUtility\": \"Market Starting Point\"\n}", "project": "Foundations", - "id": "bdb0c0ca-1a1a-4fb5-a2bf-f71fef99721b", + "id": "0855a2d0-d980-4332-83dc-218d19c7b0d7", "savedPayload": { "position": { - "x": 15795.131749084492, - "y": 24723.79723627174 + "x": 15774.865242270662, + "y": 24681.307621135333 }, "targetPosition": { "x": 15515.057621135331, @@ -473,11 +503,11 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Daily", "project": "Foundations", - "id": "1838fa05-9ce9-4cd9-adaa-66ba8ee636ea", + "id": "44ab2c3d-7ea2-4d74-9297-490717d3ce88", "savedPayload": { "position": { - "x": 15814.646481561704, - "y": 24815.60683426245 + "x": 15804.835369022052, + "y": 24753.661907604575 }, "targetPosition": { "x": 15515.057621135331, @@ -498,10 +528,40 @@ "id": "678a567c-f08d-49b9-813b-4e54fd6afadb" } } + }, + { + "type": "Data Dependency", + "name": "Super Trend Heikin Multi-Time-Frame-Daily", + "project": "Foundations", + "id": "a9a6860a-09fe-4fc7-9fd7-94b6f095c2df", + "savedPayload": { + "position": { + "x": 15815.057621135331, + "y": 24831.307621135333 + }, + "targetPosition": { + "x": 15515.057621135331, + "y": 24831.307621135333 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 3, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {}, + "referenceParent": { + "type": "Dataset Definition", + "name": "Multi-Time-Frame-Daily", + "id": "e173ac06-01d0-46e6-bc90-56b7432f5c0d" + } + } } ], "dataMineDataDependencies": [], - "id": "3d1a828c-26ac-47c4-b438-7d50dcd84510", + "id": "8d009d86-0648-4ef4-bac2-b72c090cd9f5", "savedPayload": { "position": { "x": 15515.057621135331, @@ -526,9 +586,9 @@ }, "statusReport": { "type": "Status Report", - "name": "New Status Report", + "name": "Heikin Supertrend", "project": "Foundations", - "id": "fc634118-3456-4017-bdeb-eb7e38c953c7", + "id": "6d3c01ea-8390-4343-ad02-977ca1f7f181", "savedPayload": { "position": { "x": 15405.25, @@ -553,7 +613,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "cf739718-8655-4dc1-8a47-dd7545e9313f", + "id": "589758a7-353c-40aa-bfa0-5ef4d5c1e86a", "savedPayload": { "position": { "x": 15385.153810567666, @@ -583,7 +643,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "717e308c-eefc-4ac4-8c9e-993cbe9d6a44", + "id": "d1ae7525-f929-41b2-8e4d-5fda9d660704", "savedPayload": { "position": { "x": 15330.25, @@ -604,7 +664,7 @@ "uiObject": {} } }, - "id": "51104836-b28b-46ab-a9a8-e98cd813bf9a", + "id": "3d69f510-3717-49bc-bd71-fb711d0fe91c", "savedPayload": { "position": { "x": 15255.25, @@ -632,7 +692,7 @@ { "type": "Product Definition", "name": "Super Trend Heikin", - "config": "{\n \"codeName\": \"Super-Trend\",\n \"singularVariableName\": \"superTrend\",\n \"pluralVariableName\": \"superTrends\"\n}", + "config": "{\n \"codeName\": \"Heikin-Super-Trend\",\n \"singularVariableName\": \"HeikinsuperTrend\",\n \"pluralVariableName\": \"HeikinsuperTrends\"\n}", "project": "Foundations", "datasets": [ { @@ -640,7 +700,7 @@ "name": "Multi-Time-Frame-Market", "config": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [ \"24-hs\", \"12-hs\", \"08-hs\", \"06-hs\", \"04-hs\", \"03-hs\", \"02-hs\", \"01-hs\" ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\"\n }", "project": "Foundations", - "id": "4bf59f83-d119-4ccb-9fe2-db7188b405e1", + "id": "7987beb0-fae5-4add-9289-853e5ffff68d", "savedPayload": { "position": { "x": 15717.907804801758, @@ -666,7 +726,7 @@ "name": "Multi-Time-Frame-Daily", "config": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [ \"45-min\", \"40-min\", \"30-min\", \"20-min\", \"15-min\", \"10-min\", \"05-min\", \"04-min\", \"03-min\", \"02-min\", \"01-min\" ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n }\n }", "project": "Foundations", - "id": "d112584e-8ee9-4399-92c4-051197405b0e", + "id": "e173ac06-01d0-46e6-bc90-56b7432f5c0d", "savedPayload": { "position": { "x": 15674.40098741871, @@ -703,7 +763,7 @@ "name": "New Formula", "code": "record.current.begin", "project": "Foundations", - "id": "56be2f37-c9d5-4f58-a061-3502ee148c6a", + "id": "12b0e18c-77c8-448a-9c72-4a79281b57ca", "savedPayload": { "position": { "x": 16354.9587015694, @@ -724,7 +784,7 @@ "uiObject": {} } }, - "id": "e2d4dbdb-5526-4cf7-b083-8eac0b829dfe", + "id": "ce408f80-b755-4297-bc61-c27566a9d3d9", "savedPayload": { "position": { "x": 16130.652301479446, @@ -757,7 +817,7 @@ "name": "New Formula", "code": "record.current.end", "project": "Foundations", - "id": "a4e638b1-a280-435f-ae4d-fc4f693484f8", + "id": "7afcf238-ebb5-454c-ba4c-8b0c9255d40c", "savedPayload": { "position": { "x": 16324.002649798767, @@ -778,7 +838,7 @@ "uiObject": {} } }, - "id": "f51a8689-c333-4232-8454-5e1dd7aaef3a", + "id": "e1e6d45c-a027-4ad1-a674-6773774df926", "savedPayload": { "position": { "x": 16110.014933632357, @@ -811,7 +871,7 @@ "name": "New Formula", "code": "variable.trueRange", "project": "Foundations", - "id": "e06a55fe-a704-4067-928a-951c0dec344a", + "id": "e0799f49-1b6f-4daf-954c-8dbf5dfc837d", "savedPayload": { "position": { "x": 16195.313528079558, @@ -832,7 +892,7 @@ "uiObject": {} } }, - "id": "6364de94-ee84-4c0c-8628-990b49866c7b", + "id": "fdb93883-ae4e-42b1-970f-9d431752e8c1", "savedPayload": { "position": { "x": 16024.222185819552, @@ -865,7 +925,7 @@ "name": "New Formula", "code": "variable.atrNPeriod", "project": "Foundations", - "id": "a14728af-c568-4982-a476-8869924d7085", + "id": "8a436f98-92cb-4b37-9340-fd47c11d7bae", "savedPayload": { "position": { "x": 15988.483088623732, @@ -886,7 +946,7 @@ "uiObject": {} } }, - "id": "25efbb0e-92af-420e-8781-4683411861a2", + "id": "3cd456d1-99d2-47df-adab-a23dbbe7abb5", "savedPayload": { "position": { "x": 15886.335226182335, @@ -919,7 +979,7 @@ "name": "New Formula", "code": "variable.uptrend", "project": "Foundations", - "id": "5cf1b193-cd33-4f15-8c2d-80bc17f4a950", + "id": "2dfae2a7-83b3-417b-9903-64ce2a1238b1", "savedPayload": { "position": { "x": 15734.999390915833, @@ -940,7 +1000,7 @@ "uiObject": {} } }, - "id": "040b3027-e595-4328-afec-122133ae7914", + "id": "6c34307d-fa52-468e-96fe-a9c9d4f634df", "savedPayload": { "position": { "x": 15717.346094377068, @@ -973,7 +1033,7 @@ "name": "New Formula", "code": "variable.downtrend", "project": "Foundations", - "id": "f17b8896-18c1-4852-9933-fb7af0d9b731", + "id": "b92eef82-266a-4877-b509-8812ff178656", "savedPayload": { "position": { "x": 15473.453030096449, @@ -994,7 +1054,7 @@ "uiObject": {} } }, - "id": "f6da6403-2990-4fe2-b513-7e1c8167e710", + "id": "c58bba49-6914-478f-a2d4-1f073f4c99e5", "savedPayload": { "position": { "x": 15542.981853830812, @@ -1027,7 +1087,7 @@ "name": "New Formula", "code": "variable.trend", "project": "Foundations", - "id": "d10076c3-e51c-4cae-a41f-ae9506ceb44f", + "id": "eea7249e-6155-4bfd-8314-06a5385d47ca", "savedPayload": { "position": { "x": 15243.662068676664, @@ -1048,7 +1108,7 @@ "uiObject": {} } }, - "id": "45d6c2fe-589f-4cbd-9ba0-ee253965e544", + "id": "ef301123-9f8b-4986-acb1-c005f3102673", "savedPayload": { "position": { "x": 15389.787879550955, @@ -1072,7 +1132,7 @@ } } ], - "id": "8487c10a-4375-4317-9dcd-23ec137d50ed", + "id": "91d0a74f-0ad8-497c-a89d-02f9ed2d6e2c", "savedPayload": { "position": { "x": 15682.039501299538, @@ -1106,9 +1166,9 @@ "procedureJavascriptCode": { "type": "Procedure Javascript Code", "name": "New Procedure Javascript Code", - "code": "/* Loop Code */\n\n/* Big thanks to @rico4dev for providing the base start for ATR calcs\nI made some tweaks so now the way ATR is calculated matches TradingView :-)\n */\n\n// Set parameters to be used for ATR Period and Multiplier\nlet Nperiod = 10 // ATR Period\nlet multiplier = 3 // ATR Multiplier\n\n// Get Current and Previous Candle Data\nlet currCandle = record.current \nlet prevCandle = record.previous \n\n/* We need to build the price source\nFor current price there is no problem, we have data\nFor previous price we must check if exist\nSource price is defined as OHCL4*/\n\n// OHCL4 Source for current price\nvariable.currClose = currCandle.close\nvariable.ohcl4 = (currCandle.max + currCandle.min + currCandle.close + currCandle.open)/4\n\n// OHCL4 Source for previous candle price - make sure data exists\nif (prevCandle === undefined) {\n variable.prevClose = currCandle.close\n variable.prev_ohcl4 = 0 \n} else {\n variable.prevClose = prevCandle.close\n variable.prev_ohcl4 = (prevCandle.max + prevCandle.min + prevCandle.close + prevCandle.open)/4\n}\n\n/* Define variables we need and build functions */\n/* True Range and ATR - Average True Range */\n\nvariable.trueRange = calculateTR()\nvariable.atrNPeriod = calculateATR(Nperiod)\nvariable.prevAtrNperiod = variable.atrNPeriod // Store ATR value for calcs in RMA\n\n/* To keep lastNperiodTR array to a fixed length\nwe remove the first element of the array if length is > Nperiod */\n\nvariable.lastNPeriodTR.push(calculateTR())\nif (variable.lastNPeriodTR.length > Nperiod) {\n variable.lastNPeriodTR.splice(0, 1)\n}\n\n/* Calculate ATR */\nfunction calculateATR(length) {\n return calculateRMA(variable.trueRange, length)\n}\n\n/* Calculate True Range */\nfunction calculateTR() {\n let hl = currCandle.max - currCandle.min \n if (variable.prevClose === 0) { return hl } // Return High-Low when previous Close is 0 \n let hcp = Math.abs(currCandle.max - variable.prevClose)\n let lcp = Math.abs(currCandle.min - variable.prevClose) \n return Math.max(hl, hcp, lcp)\n}\n\n/* Calculate RMA */\nfunction calculateRMA(src, length) { \n if (src.length < length) { return 0 } // We check we have enough values to make the calcs. If not, set value to zero \n let alpha=1/length // It's a constant\n if (isNaN(variable.prevAtrNperiod)) {\n return 0 \n } else {\n return alpha * src + (1 - alpha) * variable.prevAtrNperiod \n } \n \n}\n\n// Build Up Trend function\n\nvariable.up = variable.ohcl4 - (multiplier * variable.atrNPeriod)\n\nif (variable.last2uptrend.length > 2) {\n variable.last2uptrend.splice(0, 1)\n}\n\nvariable.up1 = variable.last2uptrend[variable.last2uptrend.length - 1] // Previous Up Trend \n\nvariable.uptrend = calculateUpTrend()\n\nvariable.last2uptrend.push(variable.uptrend) \n\nfunction calculateUpTrend() {\n if (variable.prevClose > variable.up1) {\n return Math.max(variable.up, variable.up1)\n } else {\n return variable.up\n }\n}\n\n// Build Down Trend function\n\nvariable.dn = variable.ohcl4 + (multiplier * variable.atrNPeriod)\n\nif (variable.last2downtrend.length > 2) {\n variable.last2downtrend.splice(0, 1)\n}\n\nvariable.dn1 = variable.last2downtrend[variable.last2downtrend.length - 1] // Previous Down Trend\n\nvariable.downtrend = calculateDnTrend()\n\nvariable.last2downtrend.push(variable.downtrend) \n\nfunction calculateDnTrend() {\n if (variable.prevClose < variable.dn1) {\n return Math.min(variable.dn, variable.dn1)\n } else {\n return variable.dn\n }\n}\n\n\n// Build Trend function\n\nif (variable.last2Trend.length > 2) {\n variable.last2Trend.splice(0, 1)\n}\n\nvariable.prevTrend = variable.last2Trend[variable.last2Trend.length - 1]\n\nvariable.trend = calculateTrend()\n\nvariable.last2Trend.push(variable.trend)\n\nfunction calculateTrend() {\n\n if (variable.trend = -1 && variable.currClose > variable.dn1) {\n return 1\n }\n else if (variable.trend = 1 && variable.currClose < variable.up1) {\n return -1\n } \n else {\n return variable.prevTrend\n }\n}\n\n// End of code :-)", + "code": "/* Loop Code */\n\n//calculating Hei\nlet candle = record.current\n\nvariable.lastOpen.push(candle.open)\nvariable.lastClose.push(candle.close)\n\nif(variable.lastOpen.length > 2) {\n\tvariable.lastOpen.splice(0,1)\n}\nif(variable.lastClose.length > 2) {\n\tvariable.lastClose.splice(0,1)\n}\nif(variable.lastOpen.length === 2 && variable.lastClose.length === 2){\n\tvariable.HeikinOpen = (variable.lastOpen[0] + variable.lastClose[0])/2\n}\nelse {\n\tvariable.HeikinOpen = candle.open\n}\nvariable.HeikinClose = 1/4 * (candle.open + candle.close + candle.max + candle.min)\nvariable.HeikinMax = Math.max(candle.open, candle.close)\nvariable.HeikinMin = Math.min(candle.open, candle.close)\n\nif (variable.HeikinClose > variable.HeikinOpen) {\n variable.directionHeikin = 1\n}\n\nif (variable.HeikinClose < variable.HeikinOpen) {\n variable.directionHeikin = -1\n}\n\nif (variable.HeikinClose === variable.HeikinOpen) {\n variable.directionHeikin = 0\n}\n\n// Set parameters to be used for ATR Period and Multiplier\nlet Nperiod = 10 // ATR Period\nlet multiplier = 3 // ATR Multiplier\n\n\n/* We need to build the price source\nFor current price there is no problem, we have data\nFor previous price we must check if exist\nSource price is defined as OHCL4*/\n\n// OHCL4 Source for current price\nvariable.currClose = variable.HeikinClose\nvariable.ohcl4 = (variable.HeikinMax + variable.HeikinMin + variable.HeikinClose + variable.HeikinOpen)/4\n\n// OHCL4 Source for previous candle price - make sure data exists\nvariable.lastHeikinClose.push(variable.HeikinClose)\nvariable.lastHeikinMax.push(variable.HeikinMax)\nvariable.lastHeikinMin.push(variable.HeikinMin)\nvariable.lastHeikinOpen.push(variable.HeikinOpen)\nif(variable.lastHeikinClose.length > 2) {\n\tvariable.lastHeikinClose.splice(0,1)\n\tvariable.lastHeikinMax.splice(0,1)\n\tvariable.lastHeikinMin.splice(0,1)\n\tvariable.lastHeikinOpen.splice(0,1)\n}\nif (variable.lastHeikinClose.length < 2) {\n variable.prevClose = variable.HeikinClose\n variable.prev_ohcl4 = 0 \n} else {\nvariable.prevClose = variable.lastHeikinClose[0]\n variable.prev_ohcl4 = (variable.lastHeikinMax[0] + variable.lastHeikinMin[0] + variable.lastHeikinClose[0] + variable.lastHeikinOpen[0])/4\n}\n\n/* Define variables we need and build functions */\n/* True Range and ATR - Average True Range */\n\nvariable.trueRange = calculateTR()\nvariable.atrNPeriod = calculateATR(Nperiod)\nvariable.prevAtrNperiod = variable.atrNPeriod // Store ATR value for calcs in RMA\n\n/* To keep lastNperiodTR array to a fixed length\nwe remove the first element of the array if length is > Nperiod */\n\nvariable.lastNPeriodTR.push(calculateTR())\nif (variable.lastNPeriodTR.length > Nperiod) {\n variable.lastNPeriodTR.splice(0, 1)\n}\n\n/* Calculate ATR */\nfunction calculateATR(length) {\n return calculateRMA(variable.trueRange, length)\n}\n\n/* Calculate True Range */\nfunction calculateTR() {\n let hl = variable.HeikinMax - variable.HeikinMin \n if (variable.prevClose === 0) { return hl } // Return High-Low when previous Close is 0 \n let hcp = Math.abs(variable.HeikinMax - variable.prevClose)\n let lcp = Math.abs(variable.HeikinMin - variable.prevClose) \n return Math.max(hl, hcp, lcp)\n}\n\n/* Calculate RMA */\nfunction calculateRMA(src, length) { \n if (src.length < length) { return 0 } // We check we have enough values to make the calcs. If not, set value to zero \n let alpha=1/length // It's a constant\n if (isNaN(variable.prevAtrNperiod)) {\n return 0 \n } else {\n return alpha * src + (1 - alpha) * variable.prevAtrNperiod \n } \n \n}\n\n// Build Up Trend function\n\nvariable.up = variable.ohcl4 - (multiplier * variable.atrNPeriod)\n\nif (variable.last2uptrend.length > 2) {\n variable.last2uptrend.splice(0, 1)\n}\n\nvariable.up1 = variable.last2uptrend[variable.last2uptrend.length - 1] // Previous Up Trend \n\nvariable.uptrend = calculateUpTrend()\n\nvariable.last2uptrend.push(variable.uptrend) \n\nfunction calculateUpTrend() {\n if (variable.prevClose > variable.up1) {\n return Math.max(variable.up, variable.up1)\n } else {\n return variable.up\n }\n}\n\n// Build Down Trend function\n\nvariable.dn = variable.ohcl4 + (multiplier * variable.atrNPeriod)\n\nif (variable.last2downtrend.length > 2) {\n variable.last2downtrend.splice(0, 1)\n}\n\nvariable.dn1 = variable.last2downtrend[variable.last2downtrend.length - 1] // Previous Down Trend\n\nvariable.downtrend = calculateDnTrend()\n\nvariable.last2downtrend.push(variable.downtrend) \n\nfunction calculateDnTrend() {\n if (variable.prevClose < variable.dn1) {\n return Math.min(variable.dn, variable.dn1)\n } else {\n return variable.dn\n }\n}\n\n\n// Build Trend function\n\nif (variable.last2Trend.length > 2) {\n variable.last2Trend.splice(0, 1)\n}\n\nvariable.prevTrend = variable.last2Trend[variable.last2Trend.length - 1]\nif(variable.last2Trend.length === 2){\n\tvariable.trend = calculateTrend()\n}\nelse {\n\tvariable.trend = 1\n}\n\nvariable.last2Trend.push(variable.trend)\n\nfunction calculateTrend() {\n\n if (variable.trend = -1 && variable.HeikinClose > variable.dn1) {\n return 1\n }\n else if (variable.trend = 1 && variable.HeikinClose < variable.up1) {\n return -1\n } \n else {\n return variable.prevTrend\n }\n}\n\n// End of code :-)", "project": "Foundations", - "id": "715d7fcd-c70f-4191-9f69-c2c092ea8a5b", + "id": "cc10042d-ba6a-43e6-ba47-9077c6f4eaa4", "savedPayload": { "position": { "x": 15238.330898618673, @@ -1129,7 +1189,7 @@ "uiObject": {} } }, - "id": "764698f8-1f7b-4020-b0e9-a281cc61b923", + "id": "c769fbae-5f2f-45bb-bca2-8b0af39ac8d1", "savedPayload": { "position": { "x": 15226.571446501062, @@ -1159,9 +1219,9 @@ "procedureJavascriptCode": { "type": "Procedure Javascript Code", "name": "New Procedure Javascript Code", - "code": "/* Initialization Code*/\n\n//// Arrays to store past data\nvariable.lastNPeriodTR = []\nvariable.last2uptrend = [0]\nvariable.last2downtrend = [0]\nvariable.last2Trend = [0]\n\n// Initialize trend\nvariable.trend = 1", + "code": "variable.lastHeikinClose = []\nvariable.lastHeikinMax = []\nvariable.lastHeikinMin = []\nvariable.lastHeikinOpen = []\nvariable.lastOpen = []\nvariable.lastClose = []\nvariable.lastNPeriodTR = []\nvariable.last2uptrend = []\nvariable.last2downtrend = []\nvariable.last2Trend = []", "project": "Foundations", - "id": "b5b7ca86-2cca-436b-b4dc-18e61b23e0d7", + "id": "e68d70e9-7243-452b-91b2-5720edbff97f", "savedPayload": { "position": { "x": 15065.778925227758, @@ -1182,7 +1242,7 @@ "uiObject": {} } }, - "id": "a6202d48-a712-4310-bdb1-233c3f590b6d", + "id": "c248a70a-773f-4835-9f4c-71a37cf1aebf", "savedPayload": { "position": { "x": 15111.536797573786, @@ -1205,7 +1265,7 @@ } } }, - "id": "532149f0-404b-4f58-b9a4-b2d280b0c72d", + "id": "e43845ab-a02a-4b60-8175-2e4e73fbeb2a", "savedPayload": { "position": { "x": 15203.052542265841, @@ -1228,7 +1288,7 @@ } } }, - "id": "1c99260a-e530-4f69-8d1f-e56564c3572b", + "id": "9c3ca7aa-ecc8-4af1-bee7-6558be0e33ae", "savedPayload": { "position": { "x": 15273.448051533946, @@ -1252,12 +1312,12 @@ "referenceParent": { "type": "Plotter Module", "name": "Super Trend Heikin", - "id": "dd671a41-e7dc-4029-816a-90cdf7147a2c" + "id": "8127cf06-e478-4773-a6e7-45459fac0d18" } } } ], - "id": "8ddb782a-9b01-4627-a5d8-7aa96345b2a1", + "id": "ea9cfca2-61fd-48b6-a5dd-a1f5b66ed668", "savedPayload": { "position": { "x": 14955.25, @@ -1300,7 +1360,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Market Heikin-Ashi Candles", "project": "Foundations", - "id": "84143535-cb11-48ea-a9dc-cda31a50e8b6", + "id": "a36c9f12-9744-4de7-bdf5-4e9d900747a6", "savedPayload": { "position": { "x": 15157.159782242685, @@ -1322,13 +1382,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Market", - "id": "6bc5fa45-d800-459c-9c5f-24a4016464a5" + "id": "4eadbee7-e691-482e-9f92-02147101379b" } } } ], "outputDatasetFolders": [], - "id": "3d425d47-2616-4df6-8729-26e5d64e3645", + "id": "96e62df5-3e60-46bc-9e07-04f686088d11", "savedPayload": { "position": { "x": 15012.270908299324, @@ -1361,7 +1421,7 @@ "name": "Heikin-Ashi-Candles Multi-Time-Frame-Market", "config": "{ \n\"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "4874af5a-e49d-4b60-b957-593464a24696", + "id": "db61c66d-54b2-496b-b223-7dc70cb0cad4", "savedPayload": { "position": { "x": 15416.967403378016, @@ -1383,7 +1443,7 @@ "referenceParent": { "type": "Status Report", "name": "Heikin", - "id": "3dd2f196-1732-4533-95af-b07ed3c00715" + "id": "3f07c992-566f-4468-aad9-56e5b8c7a5dd" } } }, @@ -1392,7 +1452,7 @@ "name": "Candles Volumes Multi-Time-Frame-Market", "config": "{ \n\"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "9ea2fd79-a44d-4a9a-8ae5-2cb37c501f08", + "id": "84afc150-e4ab-4a0b-88cd-c21e9339dd78", "savedPayload": { "position": { "x": 15446.937530129406, @@ -1424,7 +1484,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Market", "project": "Foundations", - "id": "5651d959-b869-4931-9a11-d9917f7b14dc", + "id": "94edf9d5-3580-4fa6-9e68-05fe889355c1", "savedPayload": { "position": { "x": 15307.159782242685, @@ -1452,7 +1512,7 @@ } ], "dataMineDataDependencies": [], - "id": "ee73237f-6141-4df3-a9a1-92a69adc0503", + "id": "67d26605-a6e4-4262-8fdf-113c7c111735", "savedPayload": { "position": { "x": 15157.159782242685, @@ -1479,7 +1539,7 @@ "type": "Status Report", "name": "Heikin", "project": "Foundations", - "id": "3dd2f196-1732-4533-95af-b07ed3c00715", + "id": "3f07c992-566f-4468-aad9-56e5b8c7a5dd", "savedPayload": { "position": { "x": 15079.514068711927, @@ -1504,7 +1564,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "5b1ea398-1b0d-4041-824a-e88b71c120a0", + "id": "87003d31-ff79-49b5-b55b-2b4f3a87c852", "savedPayload": { "position": { "x": 14945.02774788672, @@ -1534,7 +1594,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "188acabe-2c61-4206-b352-c29079ff3442", + "id": "2f9499af-9a4e-418f-8673-f0668141d942", "savedPayload": { "position": { "x": 14789.736320825208, @@ -1555,7 +1615,7 @@ "uiObject": {} } }, - "id": "cc279307-bde3-4dd8-a8da-78f4e74aff46", + "id": "5dee3ade-8fef-4f40-b0fb-9a60ceafb6c6", "savedPayload": { "position": { "x": 14867.382034355964, @@ -1592,7 +1652,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Daily Heikin-Ashi Candles", "project": "Foundations", - "id": "d702c7fd-97b0-4cb0-83dc-f6da36d2bc6d", + "id": "183c68c2-03f6-44a7-a189-b6ae8d774265", "savedPayload": { "position": { "x": 15174.865242270662, @@ -1614,13 +1674,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Daily", - "id": "3611bd6b-9c36-4a1e-8e66-0b1d9960cc8f" + "id": "83a3d3a4-5d17-4bbc-a0f6-6e46b955860f" } } } ], "outputDatasetFolders": [], - "id": "4ca29bda-f24d-4022-835c-00fba4cb3925", + "id": "76992723-87a4-49bc-80f2-42475e1134e0", "savedPayload": { "position": { "x": 14915.057621135331, @@ -1653,7 +1713,7 @@ "name": "Heikin-Ashi-Candles Multi-Time-Frame-Daily", "config": "{ \n\"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "d5aaa0ed-3389-42ab-b48b-d24d679fbf31", + "id": "af43b4be-e3f8-4e12-834e-6da5b9475b52", "savedPayload": { "position": { "x": 15056.851170383627, @@ -1675,7 +1735,7 @@ "referenceParent": { "type": "Status Report", "name": "Heikin", - "id": "d8d66d59-98b9-41c3-b52a-41c089a8b963" + "id": "26b956e8-6059-48f3-8082-9cb167303f4f" } } }, @@ -1684,7 +1744,7 @@ "name": "", "config": "{ \n\"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "b76e5735-7a73-49fc-8367-b6f130ae131f", + "id": "8cd859da-a6f1-480f-a248-176876bf18a7", "savedPayload": { "position": { "x": 14994.04611731495, @@ -1715,7 +1775,7 @@ "name": "Exchange Raw Data Historic-OHLCVs", "config": "{ \n\"mainUtility\": \"Market Starting Point\"\n}", "project": "Foundations", - "id": "078df3bf-abd5-4d6e-a9da-101d3616dc86", + "id": "8686b5d7-d4c5-4f46-8b67-f907534793ab", "savedPayload": { "position": { "x": 14912.76038486359, @@ -1747,7 +1807,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Daily", "project": "Foundations", - "id": "416bb0d2-b8f4-4337-b78d-0a7e597943ef", + "id": "eb24da5b-3935-45e0-86f7-35e3a7f4e479", "savedPayload": { "position": { "x": 14820.950786872883, @@ -1775,7 +1835,7 @@ } ], "dataMineDataDependencies": [], - "id": "484e4aec-89a9-42f7-9e57-3d9b6b87b0c0", + "id": "d8471fd4-1110-4da8-b60a-39e33bb075f8", "savedPayload": { "position": { "x": 14805.25, @@ -1802,7 +1862,7 @@ "type": "Status Report", "name": "Heikin", "project": "Foundations", - "id": "d8d66d59-98b9-41c3-b52a-41c089a8b963", + "id": "26b956e8-6059-48f3-8082-9cb167303f4f", "savedPayload": { "position": { "x": 14655.25, @@ -1827,7 +1887,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "9c309b01-6eab-4a44-9bf8-40e4ff7fbfd3", + "id": "0201acc7-4c3a-4bb7-b49e-1e627c7bf059", "savedPayload": { "position": { "x": 14580.25, @@ -1857,7 +1917,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "9768cd18-aa35-440e-9ac6-4051c09a5ceb", + "id": "d6c0440a-acee-4c12-b013-94eeef551809", "savedPayload": { "position": { "x": 14525.346189432334, @@ -1878,7 +1938,7 @@ "uiObject": {} } }, - "id": "5fd780f3-245c-428a-8300-c84538a5d456", + "id": "77f6b6ab-9f38-451a-aad5-c1d792f57af6", "savedPayload": { "position": { "x": 14655.25, @@ -1906,7 +1966,7 @@ { "type": "Product Definition", "name": "Heikin-Ashi Candles", - "config": "{\n \"codeName\": \"Heikin-Candle\",\n \"singularVariableName\": \"Heikin-Candle\",\n \"pluralVariableName\": \"Heikin-Candles\"\n}", + "config": "{\n \"codeName\": \"Heikin-Candle\",\n \"singularVariableName\": \"heikincandle\",\n \"pluralVariableName\": \"heikincandles\"\n}", "project": "Foundations", "datasets": [ { @@ -1914,7 +1974,7 @@ "name": "Multi-Time-Frame-Market", "config": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [\n \"24-hs\",\n \"12-hs\",\n \"08-hs\",\n \"06-hs\",\n \"04-hs\",\n \"03-hs\",\n \"02-hs\",\n \"01-hs\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\"\n}", "project": "Foundations", - "id": "6bc5fa45-d800-459c-9c5f-24a4016464a5", + "id": "4eadbee7-e691-482e-9f92-02147101379b", "savedPayload": { "position": { "x": 14407.447457734159, @@ -1940,7 +2000,7 @@ "name": "Multi-Time-Frame-Daily", "config": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [\n \"45-min\",\n \"40-min\",\n \"30-min\",\n \"20-min\",\n \"15-min\",\n \"10-min\",\n \"05-min\",\n \"04-min\",\n \"03-min\",\n \"02-min\",\n \"01-min\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n }\n}", "project": "Foundations", - "id": "3611bd6b-9c36-4a1e-8e66-0b1d9960cc8f", + "id": "83a3d3a4-5d17-4bbc-a0f6-6e46b955860f", "savedPayload": { "position": { "x": 14132.75622358326, @@ -1977,7 +2037,7 @@ "name": "New Formula", "code": "record.current.begin", "project": "Foundations", - "id": "5a5cca78-cdde-4433-a64c-aa38d41a132f", + "id": "c6db4b60-ad9e-4f99-9a54-19068cacb05b", "savedPayload": { "position": { "x": 13588.105966312818, @@ -1998,7 +2058,7 @@ "uiObject": {} } }, - "id": "93eabe6d-ab32-4630-bf82-9c5fb633384b", + "id": "151bee76-f652-470e-a842-88fea43c00ff", "savedPayload": { "position": { "x": 13570.452669774053, @@ -2031,7 +2091,7 @@ "name": "New Formula", "code": "record.current.end", "project": "Foundations", - "id": "972dcc5c-e086-41f7-b422-dfeb9762c75c", + "id": "01cde7a6-10a7-492c-9938-5fb2dfadd069", "savedPayload": { "position": { "x": 13326.559605493434, @@ -2052,7 +2112,7 @@ "uiObject": {} } }, - "id": "74479e09-6949-4b7d-865f-91d32dfa4009", + "id": "4ae2d8a4-826d-412f-92f2-349838dd5017", "savedPayload": { "position": { "x": 13396.088429227797, @@ -2078,14 +2138,14 @@ { "type": "Record Property", "name": "Heikin-Open", - "config": "{\n \"codeName\": \"HeikinOpen\",\n \"isString\": false,\n \"isCalculated\": false\n}", + "config": "{\n \"codeName\": \"open\",\n \"isString\": false,\n \"isCalculated\": false\n}", "project": "Foundations", "recordFormula": { "type": "Record Formula", "name": "New Formula", "code": "variable.HeikinOpen", "project": "Foundations", - "id": "b28a42ab-0dd0-4723-8b6d-48895b7f6574", + "id": "5c14b50f-e007-408e-988f-f21395f5a7cb", "savedPayload": { "position": { "x": 13096.768644073649, @@ -2106,7 +2166,7 @@ "uiObject": {} } }, - "id": "bc10c04e-0be9-4de5-93bf-ac67ec6e21d6", + "id": "988a13da-a63c-41c0-9ab9-28b0b62499b7", "savedPayload": { "position": { "x": 13242.89445494794, @@ -2132,14 +2192,14 @@ { "type": "Record Property", "name": "Heikin-Close", - "config": "{\n \"codeName\": \"HeikinClose\",\n \"isString\": false,\n \"isCalculated\": false\n}", + "config": "{\n \"codeName\": \"close\",\n \"isString\": false,\n \"isCalculated\": false\n}", "project": "Foundations", "recordFormula": { "type": "Record Formula", "name": "New Formula", "code": "variable.HeikinClose", "project": "Foundations", - "id": "8e4ebbdf-1989-4a9c-a2f1-f5ff4324be37", + "id": "d15c35d2-4965-42f8-8161-7ec4673f23d7", "savedPayload": { "position": { "x": 12933.716672869376, @@ -2160,7 +2220,7 @@ "uiObject": {} } }, - "id": "cef6d353-e5d3-4940-9a15-ef419ca2132d", + "id": "f9d82d0e-64bf-4ec3-aaef-b8a3339dcb41", "savedPayload": { "position": { "x": 13134.193140811758, @@ -2186,14 +2246,14 @@ { "type": "Record Property", "name": "HeikinMax", - "config": "{\n \"codeName\": \"HeikinMax\",\n \"isString\": false,\n \"isCalculated\": false\n}", + "config": "{\n \"codeName\": \"max\",\n \"isString\": false,\n \"isCalculated\": false\n}", "project": "Foundations", "recordFormula": { "type": "Record Formula", "name": "New Record Formula", "code": "variable.HeikinMax", "project": "Foundations", - "id": "ef1ba9ab-0f69-4925-8e61-c8ef1b0dea88", + "id": "52056341-e0b7-458e-8636-7734c9a3b123", "savedPayload": { "position": { "x": 12862.226876426661, @@ -2214,7 +2274,7 @@ "uiObject": {} } }, - "id": "5576eae7-7823-48b7-8d92-8987878f3112", + "id": "4546f711-6e1d-4b63-9659-9a6c12637b2e", "savedPayload": { "position": { "x": 13086.533276516615, @@ -2240,14 +2300,14 @@ { "type": "Record Property", "name": "HeikinMin", - "config": "{\n \"codeName\": \"HeikinMin\",\n \"isString\": false,\n \"isCalculated\": false\n}", + "config": "{\n \"codeName\": \"min\",\n \"isString\": false,\n \"isCalculated\": false\n}", "project": "Foundations", "recordFormula": { "type": "Record Formula", "name": "New Record Formula", "code": "variable.HeikinMin", "project": "Foundations", - "id": "9c265f08-7cac-4bc9-8268-f8feb8e067ed", + "id": "86622158-7377-45ce-a39d-176e2b80dfa5", "savedPayload": { "position": { "x": 12893.182928197293, @@ -2268,7 +2328,7 @@ "uiObject": {} } }, - "id": "d67cf888-d409-46ea-8a6c-eed8ffacaa56", + "id": "f0da4e85-cb75-40c0-b50b-03c9c12d28ba", "savedPayload": { "position": { "x": 13107.170644363703, @@ -2301,7 +2361,7 @@ "name": "New Record Formula", "code": "variable.directionHeikin", "project": "Foundations", - "id": "9b9308c0-873b-422c-af55-d6a4ab54b8eb", + "id": "f75ce504-9992-4f5c-bf0d-697c8ca7eda9", "savedPayload": { "position": { "x": 13021.872049916501, @@ -2322,7 +2382,7 @@ "uiObject": {} } }, - "id": "170c7267-4c34-4fab-a655-d58fe45c5056", + "id": "d49bb790-aec5-4ed7-bee7-724e747f028d", "savedPayload": { "position": { "x": 13192.963392176509, @@ -2346,7 +2406,7 @@ } } ], - "id": "5a749904-a05c-4a4d-9b33-01a5d9f1fe51", + "id": "4d81c724-0301-4b86-924f-7213ff89e180", "savedPayload": { "position": { "x": 13535.146076696523, @@ -2359,7 +2419,7 @@ "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": false, + "isCollapsed": true, "angleToParent": 2, "distanceToParent": 5, "arrangementStyle": 0 @@ -2380,9 +2440,9 @@ "procedureJavascriptCode": { "type": "Procedure Javascript Code", "name": "New Procedure Javascript Code", - "code": "let candle = record.current\n\nvariable.lastOpen.push(candle.open)\nvariable.lastClose.push(candle.close)\n\nif(variable.lastOpen.length > 2) {\n\tvariable.lastOpen.splice(0,1)\n\tvariable.lastClose.splice(0,1)\n}\nif(variable.lastOpen === 2){\n\tvariable.HeikinOpen = 1/2 * (variable.lastOpen[0] + variable.lastClose[0])\n}\nelse {\n\tvariable.HeikinOpen = candle.open\n}\nvariable.HeikinClose = 1/4 * (candle.open + candle.close + candle.max + candle.min)\nvariable.HeikinMax = Math.max(candle.open, candle.close)\nvariable.HeikinMin = Math.min(candle.open, candle.close)\n\nif (variable.HeikinClose > variable.HeikinOpen) {\n variable.directionHeikin = 1\n}\n\nif (variable.HeikinClose < variable.HeikinOpen) {\n variable.directionHeikin = -1\n}\n\nif (variable.HeikinClose === variable.HeikinOpen) {\n variable.directionHeikin = 0\n}", + "code": "let candle = record.current\n\nvariable.lastOpen.push(candle.open)\nvariable.lastClose.push(candle.close)\n\nif(variable.lastOpen.length > 2) {\n\tvariable.lastOpen.splice(0,1)\n}\nif(variable.lastClose.length > 2) {\n\tvariable.lastClose.splice(0,1)\n}\nif(variable.lastOpen.length === 2 && variable.lastClose.length === 2){\n\tvariable.HeikinOpen = (variable.lastOpen[0] + variable.lastClose[0])/2\n}\nelse {\n\tvariable.HeikinOpen = candle.open\n}\nvariable.HeikinClose = 1/4 * (candle.open + candle.close + candle.max + candle.min)\nvariable.HeikinMax = Math.max(candle.open, candle.close)\nvariable.HeikinMin = Math.min(candle.open, candle.close)\n\nif (variable.HeikinClose > variable.HeikinOpen) {\n variable.directionHeikin = 1\n}\n\nif (variable.HeikinClose < variable.HeikinOpen) {\n variable.directionHeikin = -1\n}\n\nif (variable.HeikinClose === variable.HeikinOpen) {\n variable.directionHeikin = 0\n}", "project": "Foundations", - "id": "1e3480a8-7b25-4532-827c-548a48ff5a55", + "id": "3835370b-7702-4849-b390-b5cf304c4cea", "savedPayload": { "position": { "x": 13556.94105551145, @@ -2403,7 +2463,7 @@ "uiObject": {} } }, - "id": "851446c3-cd89-476a-90d1-ce1793868a9c", + "id": "b66fa03b-fddf-4e9f-8d72-6cc0c300f2ec", "savedPayload": { "position": { "x": 13668.82476874038, @@ -2435,7 +2495,7 @@ "name": "New Procedure Javascript Code", "code": "variable.lastOpen = []\nvariable.lastClose = []", "project": "Foundations", - "id": "8cce09be-3c7c-41b7-b711-7223c309251d", + "id": "31bcfe06-aa63-42c1-9c17-fa41ad9e499b", "savedPayload": { "position": { "x": 13584.270603243864, @@ -2456,7 +2516,7 @@ "uiObject": {} } }, - "id": "5fb8a508-68d3-4d7c-80e1-c7dd04565ae6", + "id": "c92a89a3-a3f8-4acd-b3ea-2538fe55bd61", "savedPayload": { "position": { "x": 13687.044467228656, @@ -2479,7 +2539,7 @@ } } }, - "id": "affa5f52-c13c-473b-8362-463fd93856c5", + "id": "8fddf34d-50ee-46ad-8ce0-650da7c66487", "savedPayload": { "position": { "x": 13892.592195198242, @@ -2502,7 +2562,7 @@ } } }, - "id": "dd154b66-60f4-4275-8211-112e99433f6f", + "id": "4293b218-9916-4bb5-9372-ed8e1c0917e8", "savedPayload": { "position": { "x": 14337.051948466054, @@ -2526,12 +2586,12 @@ "referenceParent": { "type": "Plotter Module", "name": "Candles-Heikin", - "id": "cf9b221c-3165-4c4d-9ab3-298028369d29" + "id": "a3eef127-33ab-4158-beb4-ff9f93fa0494" } } } ], - "id": "7045c6a6-37ea-48f3-86f4-127ed6da56d7", + "id": "df3fe9fe-a39b-46b5-ae08-9b04f46836a5", "savedPayload": { "position": { "x": 14655.25, @@ -2565,7 +2625,7 @@ { "type": "Plotter Module", "name": "Super Trend Heikin", - "config": "{\n \"codeName\": \"superTrend\",\n \"icon\": \"trend\"\n}", + "config": "{\n \"codeName\": \"HeikinsuperTrend\",\n \"icon\": \"trend\"\n}", "project": "Foundations", "shapes": { "type": "Shapes", @@ -2586,7 +2646,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.uptrend", "project": "Foundations", - "id": "591f1661-f079-45fd-8fb9-5240363aa5ad", + "id": "df274693-82b1-48df-9714-7357f3968470", "savedPayload": { "position": { "x": 14399.120325871574, @@ -2607,7 +2667,7 @@ "uiObject": {} } }, - "id": "32cb20f0-2532-4b1c-94f6-da20d369ff7a", + "id": "5e9edd2e-0dae-4e8e-bdee-cf4c49b73fa4", "savedPayload": { "position": { "x": 14210.419448083854, @@ -2639,7 +2699,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.uptrend", "project": "Foundations", - "id": "eb5c240e-a9f6-4de0-97f0-a579782dc30e", + "id": "60c053a0-3f39-4643-8156-c63dab9e1691", "savedPayload": { "position": { "x": 14371.434252951773, @@ -2660,7 +2720,7 @@ "uiObject": {} } }, - "id": "6c0c1138-1798-40a6-a398-79295e9b1545", + "id": "2ff7ddaf-2472-44b6-86b2-c6688d7f3cc5", "savedPayload": { "position": { "x": 14196.576411623953, @@ -2692,7 +2752,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.downtrend", "project": "Foundations", - "id": "1549866c-b166-42cb-b2bb-31aaf8f34027", + "id": "851d1fab-5b70-4171-a4ca-ea8d5ac9c655", "savedPayload": { "position": { "x": 13860.45299300075, @@ -2713,7 +2773,7 @@ "uiObject": {} } }, - "id": "f10fb86c-644d-457c-98dc-0e012eeef147", + "id": "2d6730c8-3f1e-4cb2-9904-bb0d9e21fa3b", "savedPayload": { "position": { "x": 13941.085781648442, @@ -2745,7 +2805,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.downtrend", "project": "Foundations", - "id": "9f815dbf-95cf-4130-b050-484985234d1d", + "id": "81476a42-47e3-47eb-999b-8c8bb6e3e789", "savedPayload": { "position": { "x": 13572.335279656576, @@ -2766,7 +2826,7 @@ "uiObject": {} } }, - "id": "c25a6b8f-0266-47b4-930e-529e3694cc64", + "id": "e91cd943-50a6-4c12-b40d-a746859dc743", "savedPayload": { "position": { "x": 13797.026924976355, @@ -2790,7 +2850,7 @@ } } ], - "id": "571ba51a-1993-4db3-ba4d-3bc942d79c74", + "id": "d8b4b5f3-a9e5-477a-bae5-2a0ec0d4d53c", "savedPayload": { "position": { "x": 14021.718570296134, @@ -2828,7 +2888,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 2,\n \"lineDash\": [0,0],\n \"paletteColor\": \"UI_COLOR.GREEN\"\n }\n}", "project": "Foundations", - "id": "84b48944-bba8-42c2-b3af-5ecd867cb885", + "id": "11433e59-b0b7-49d6-badb-7b24a7b68697", "savedPayload": { "position": { "x": 13897.58331091504, @@ -2858,9 +2918,9 @@ "style": { "type": "Style", "name": "New Style", - "config": "{\n \"opacity\": 0.0,\n \"lineWidth\": 0,\n \"lineDash\": [0,0],\n \"paletteColor\": \"UI_COLOR.RED\"\n}", + "config": "{\n \"opacity\": 0,\n \"lineWidth\": 0,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RED\"\n}", "project": "Foundations", - "id": "06238f6a-4144-415e-8b3e-645f225da986", + "id": "e983563d-c0a3-4572-99aa-0299ebb4ad13", "savedPayload": { "position": { "x": 13622.015714851932, @@ -2881,7 +2941,7 @@ "uiObject": {} } }, - "id": "535fe534-3bc9-45b7-be19-e292c71e3e1a", + "id": "f8e6e7a4-dfdb-4cfb-9c72-052ec7265cea", "savedPayload": { "position": { "x": 13680.25, @@ -2905,7 +2965,7 @@ } } ], - "id": "a40f3a58-b2aa-447d-8080-804044c12050", + "id": "d0d18eaf-369d-4f42-90b3-855ff261e461", "savedPayload": { "position": { "x": 13738.484285148068, @@ -2933,7 +2993,7 @@ "type": "Polygon Vertex", "name": " UP Trend Begin", "project": "Foundations", - "id": "88f1b937-df49-454e-9478-76dcaa87d87e", + "id": "9c400088-6a96-445b-a773-876b65b4b161", "savedPayload": { "position": { "x": 13455.25, @@ -2955,7 +3015,7 @@ "referenceParent": { "type": "Point", "name": "UP Trend Begin", - "id": "32cb20f0-2532-4b1c-94f6-da20d369ff7a" + "id": "5e9edd2e-0dae-4e8e-bdee-cf4c49b73fa4" } } }, @@ -2963,7 +3023,7 @@ "type": "Polygon Vertex", "name": " UP Trend End", "project": "Foundations", - "id": "f1f778a3-23af-4c82-a46e-d540d00b67c0", + "id": "d0c7fd3b-1fa0-4d5b-b0ca-f0fed89aaa74", "savedPayload": { "position": { "x": 13245.583378169918, @@ -2985,12 +3045,12 @@ "referenceParent": { "type": "Point", "name": "UP Trend End", - "id": "6c0c1138-1798-40a6-a398-79295e9b1545" + "id": "2ff7ddaf-2472-44b6-86b2-c6688d7f3cc5" } } } ], - "id": "4d62b2fa-0798-4b49-9af1-0b0331ca27c2", + "id": "3ddd3517-a92c-45f5-bb73-793fe13cce60", "savedPayload": { "position": { "x": 13680.25, @@ -3026,15 +3086,15 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 2,\n \"lineDash\": [0,0],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "e4f32bf7-2125-4e20-bed7-de186457dafa", + "id": "2b26fff4-f714-4d53-9ab6-625d3bd0e78c", "savedPayload": { "position": { - "x": 1361.237349204659, - "y": 24374.466228645266 + "x": 13139.10623161499, + "y": 25233.448553185706 }, "targetPosition": { - "x": 1520.3363749716318, - "y": 24533.56525441224 + "x": 13298.205257381962, + "y": 25074.349527418733 }, "floatingObject": { "isPinned": false, @@ -3058,15 +3118,15 @@ "name": "New Style", "config": "{\n \"opacity\": 0.0,\n \"lineWidth\": 0,\n \"lineDash\": [0,0],\n \"paletteColor\": \"UI_COLOR.RED\"\n}", "project": "Foundations", - "id": "9f40eb82-2ea8-411a-9782-fb6ec7751def", + "id": "904a90ba-02f3-4d7d-928e-2e2c822eb8a0", "savedPayload": { "position": { - "x": 1636.8049452677678, - "y": 24098.898632582157 + "x": 12863.53863555188, + "y": 24957.880957122597 }, "targetPosition": { - "x": 1578.5706601196998, - "y": 24316.231943497198 + "x": 13080.871946466921, + "y": 25016.115242270665 }, "floatingObject": { "isPinned": false, @@ -3079,15 +3139,15 @@ "uiObject": {} } }, - "id": "24a2d691-5311-4c5b-99c1-8b29f1c34d1a", + "id": "db1bb17b-3e04-49c5-97bd-0f2ceb7b4d70", "savedPayload": { "position": { - "x": 1578.5706601196998, - "y": 24316.231943497198 + "x": 13080.871946466921, + "y": 25016.115242270665 }, "targetPosition": { - "x": 1520.3363749716318, - "y": 24533.56525441224 + "x": 13298.205257381962, + "y": 25074.349527418733 }, "floatingObject": { "isPinned": false, @@ -3103,15 +3163,15 @@ } } ], - "id": "916cede5-eb01-490d-a448-e42c3b25ed6f", + "id": "8e14db61-2130-43c9-8685-f3bb19f33ac7", "savedPayload": { "position": { - "x": 1520.3363749716318, - "y": 24533.56525441224 + "x": 13298.205257381962, + "y": 25074.349527418733 }, "targetPosition": { - "x": 1578.5706601196998, - "y": 24750.89856532728 + "x": 13515.538568297003, + "y": 25016.115242270665 }, "floatingObject": { "isPinned": false, @@ -3131,15 +3191,15 @@ "type": "Polygon Vertex", "name": " Down Trend Begin", "project": "Foundations", - "id": "975119e7-cd9d-40f8-9028-d71d47d1e75f", + "id": "915d279c-7eb5-4650-8abd-d3cd4255f0c7", "savedPayload": { "position": { - "x": 1803.5706601196998, - "y": 24361.18713362428 + "x": 13125.827136594005, + "y": 24791.115242270665 }, "targetPosition": { - "x": 1578.5706601196998, - "y": 24750.89856532728 + "x": 13515.538568297003, + "y": 25016.115242270665 }, "floatingObject": { "isPinned": false, @@ -3153,7 +3213,7 @@ "referenceParent": { "type": "Point", "name": "Down Trend Begin", - "id": "f10fb86c-644d-457c-98dc-0e012eeef147" + "id": "2d6730c8-3f1e-4cb2-9904-bb0d9e21fa3b" } } }, @@ -3161,15 +3221,15 @@ "type": "Polygon Vertex", "name": " Down Trend End", "project": "Foundations", - "id": "5517336d-3fb7-4cc6-88b0-d24bca853aa0", + "id": "0b4d1fd8-94ba-4cfe-819b-5ba543237a46", "savedPayload": { "position": { - "x": 2013.2372819497814, - "y": 24634.429995031143 + "x": 13399.069998000869, + "y": 24581.448620440584 }, "targetPosition": { - "x": 1578.5706601196998, - "y": 24750.89856532728 + "x": 13515.538568297003, + "y": 25016.115242270665 }, "floatingObject": { "isPinned": false, @@ -3183,12 +3243,12 @@ "referenceParent": { "type": "Point", "name": "Down Trend End", - "id": "c25a6b8f-0266-47b4-930e-529e3694cc64" + "id": "e91cd943-50a6-4c12-b40d-a746859dc743" } } } ], - "id": "e6611559-1004-4e38-8e51-81133a3de304", + "id": "9430ef62-7840-46ea-99c2-ceb6bc85b5c5", "savedPayload": { "position": { "x": 13515.538568297003, @@ -3214,7 +3274,7 @@ ], "images": [], "texts": [], - "id": "95216103-1007-4591-824f-ec2cd8024ec3", + "id": "d4f072b1-faa1-44ef-9253-acd938bb7e98", "savedPayload": { "position": { "x": 13905.25, @@ -3241,7 +3301,7 @@ { "type": "Plotter Panel", "name": "Super Trend Heikin", - "config": "{ \n \"codeName\": \"superTrend\"\n}", + "config": "{\n \"codeName\": \"HeikinsuperTrend\"\n}", "project": "Foundations", "panelData": [ { @@ -3254,7 +3314,7 @@ "name": "Up Trend", "code": "record.uptrend", "project": "Foundations", - "id": "554f908e-bf47-476f-8cad-9befec615dbd", + "id": "93697642-fc04-45eb-950c-08181f63592f", "savedPayload": { "position": { "x": 13384.252696908232, @@ -3280,7 +3340,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREEN\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "02d293bc-54a7-423f-b591-60908d199194", + "id": "e857e095-35a1-4a94-bedd-8918502c997f", "savedPayload": { "position": { "x": 13396.426977580268, @@ -3301,7 +3361,7 @@ "uiObject": {} } }, - "id": "ac5e2988-1366-4885-925c-7599cc0a732d", + "id": "3d3b9aa1-f467-4ad3-bde0-b30719624382", "savedPayload": { "position": { "x": 13606.482573542138, @@ -3334,7 +3394,7 @@ "name": "New Data Formula", "code": "record.downtrend", "project": "Foundations", - "id": "7d131284-aae5-46e3-939c-1a8c8ee736ab", + "id": "929bdcdc-e717-41de-a6fd-6f158bf4b0d8", "savedPayload": { "position": { "x": 13462.565946325203, @@ -3360,7 +3420,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "a0e55041-8eac-4a95-8871-b52f799f3ddb", + "id": "7b84b5a0-a191-4482-8cf4-4c4142785ac7", "savedPayload": { "position": { "x": 13540.498631389204, @@ -3381,7 +3441,7 @@ "uiObject": {} } }, - "id": "3e9367aa-7d43-4f40-adbd-dd267e57cf7f", + "id": "5cec9e96-1d9e-4185-ac41-ca1c7ed36e29", "savedPayload": { "position": { "x": 13663.042414267586, @@ -3414,7 +3474,7 @@ "name": "New Data Formula", "code": "record.trend", "project": "Foundations", - "id": "f1f06f6b-71cf-4134-a2f3-14e20f549def", + "id": "ff3809f9-fdde-4c4b-be64-c65e670e8a7c", "savedPayload": { "position": { "x": 13681.322007124607, @@ -3440,7 +3500,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "bc538bf8-bfa9-4ae8-ae44-fe021c00f7bf", + "id": "a9c1e882-4944-44e8-bfb2-8b5e57f4b3c7", "savedPayload": { "position": { "x": 13795.245459720667, @@ -3461,7 +3521,7 @@ "uiObject": {} } }, - "id": "81b106e7-2669-4e3e-9520-4aa50a6fb481", + "id": "fc040708-99a9-447a-b6f1-731988cd6e17", "savedPayload": { "position": { "x": 13783.469869566004, @@ -3494,7 +3554,7 @@ "name": "New Data Formula", "code": "record.atrNPeriod", "project": "Foundations", - "id": "6ae81ebe-16cb-4ba1-ab00-1ec335a4c45b", + "id": "c8bba9a8-d476-4a2a-8c75-6b752a221fbb", "savedPayload": { "position": { "x": 13910.006292574444, @@ -3520,7 +3580,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "17b0b3a5-17fc-4f08-ae42-5793f3032cc7", + "id": "c83176f9-bf33-4515-b273-dd217e9b5efc", "savedPayload": { "position": { "x": 14012.780156559236, @@ -3541,7 +3601,7 @@ "uiObject": {} } }, - "id": "7ea713f6-87b3-46ea-882f-8b65783df778", + "id": "758213ed-d43c-4aec-a64e-1af903fc5874", "savedPayload": { "position": { "x": 13921.765744692055, @@ -3565,7 +3625,7 @@ } } ], - "id": "16ee77fb-8ec6-44c1-be67-f0ecc4a9b183", + "id": "bf9b71ad-2ba7-4ad9-83b6-21332bf5891e", "savedPayload": { "position": { "x": 13830.25, @@ -3578,7 +3638,7 @@ "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": false, + "isCollapsed": true, "angleToParent": 1, "distanceToParent": 4, "arrangementStyle": 0 @@ -3589,7 +3649,7 @@ } } ], - "id": "dd671a41-e7dc-4029-816a-90cdf7147a2c", + "id": "8127cf06-e478-4773-a6e7-45459fac0d18", "savedPayload": { "position": { "x": 14055.25, @@ -3602,7 +3662,7 @@ "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": false, + "isCollapsed": true, "angleToParent": 1, "distanceToParent": 3, "arrangementStyle": 0 @@ -3613,7 +3673,7 @@ } } ], - "id": "2bd3490b-2c28-49be-9e31-6b0c6d408930", + "id": "e67e6c90-ffdb-4897-90d6-3623bc4267f1", "savedPayload": { "position": { "x": 14355.25, @@ -3664,9 +3724,9 @@ "pointFormula": { "type": "Point Formula", "name": "New Point Formula", - "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.HeikinOpen", + "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.open", "project": "Foundations", - "id": "d3e58c19-8dc1-482d-b8de-08c688f10405", + "id": "5c8f9aa8-63fb-48ab-918e-d38dc062f2fe", "savedPayload": { "position": { "x": 14046.695316219144, @@ -3687,7 +3747,7 @@ "uiObject": {} } }, - "id": "f7952c8e-0093-4f9d-bb7d-90c36b8ab0d5", + "id": "bbd2cf34-47e8-42af-9c32-0482c5aaecac", "savedPayload": { "position": { "x": 13778.382093919243, @@ -3717,9 +3777,9 @@ "pointFormula": { "type": "Point Formula", "name": "New Point Formula", - "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.HeikinClose", + "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.close", "project": "Foundations", - "id": "250904bc-7f4a-4fd3-b47f-a7362c0abec6", + "id": "e6ff800a-39e4-4490-899e-bafa51b33228", "savedPayload": { "position": { "x": 14054.484088360061, @@ -3740,7 +3800,7 @@ "uiObject": {} } }, - "id": "77973b95-b571-4d17-9107-6f4da7677abe", + "id": "52f856a3-ea79-41fd-9e20-3a80e613ac02", "savedPayload": { "position": { "x": 13782.276479989701, @@ -3770,9 +3830,9 @@ "pointFormula": { "type": "Point Formula", "name": "New Point Formula", - "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.HeikinOpen", + "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.open", "project": "Foundations", - "id": "f7e51b98-3a96-4d04-b335-8f09b7e1f6c3", + "id": "490f5c33-3e7a-4d2d-9ac9-d20ac61323e5", "savedPayload": { "position": { "x": 13652.317098248639, @@ -3793,7 +3853,7 @@ "uiObject": {} } }, - "id": "a265b1ce-501b-48d4-ae99-07e8c78d76e6", + "id": "07bf7aa6-4f46-403b-a132-359ee04fbb5f", "savedPayload": { "position": { "x": 13581.19298493399, @@ -3823,9 +3883,9 @@ "pointFormula": { "type": "Point Formula", "name": "New Point Formula", - "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.HeikinMax", + "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.max", "project": "Foundations", - "id": "17e3a075-7693-4c83-a478-71c64f395151", + "id": "11b3c7de-b236-4a1b-87b7-aca149698035", "savedPayload": { "position": { "x": 13143.034292150338, @@ -3846,7 +3906,7 @@ "uiObject": {} } }, - "id": "4cb78491-67ac-41f7-837f-934c25472570", + "id": "665797e9-cc47-46f9-a1f2-3b0c3897f604", "savedPayload": { "position": { "x": 13326.55158188484, @@ -3876,9 +3936,9 @@ "pointFormula": { "type": "Point Formula", "name": "New Point Formula", - "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.HeikinClose", + "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.close", "project": "Foundations", - "id": "80b99a84-9712-406d-b554-5d29e8c397ec", + "id": "813ca180-b19f-4b4b-a213-485c91232398", "savedPayload": { "position": { "x": 12910.136010533179, @@ -3899,7 +3959,7 @@ "uiObject": {} } }, - "id": "40bb6e1b-ab2a-4121-8ad7-a12b712d24ca", + "id": "9d790e5d-4897-4f15-90aa-e923491162ae", "savedPayload": { "position": { "x": 13210.10244107626, @@ -3929,9 +3989,9 @@ "pointFormula": { "type": "Point Formula", "name": "New Point Formula", - "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.HeikinMin", + "code": "x = (record.end - record.begin) / 2 + record.begin\ny = record.min", "project": "Foundations", - "id": "25a17eb3-a43f-4e4a-8954-f4de56aef870", + "id": "f97bc29c-6ed6-4449-9551-e5a74f0b6cbd", "savedPayload": { "position": { "x": 13128.999409714035, @@ -3952,7 +4012,7 @@ "uiObject": {} } }, - "id": "179d92fa-959e-4b1c-99ec-000a1fa697f3", + "id": "f7b40927-b0eb-454e-9126-5ebafbc41bac", "savedPayload": { "position": { "x": 13319.534140666688, @@ -3976,18 +4036,18 @@ } } ], - "id": "f815bbf7-429b-47f9-8dc6-e38e6f4cf338", + "id": "1c71e19f-623f-4800-9ed5-6671a9d38b31", "savedPayload": { "position": { - "x": 14333.068871619342, - "y": 24524.751901355474 + "x": 13510.068871619342, + "y": 24802.751901355474 }, "targetPosition": { "x": 14395.442378864669, "y": 24231.307621135333 }, "floatingObject": { - "isPinned": false, + "isPinned": true, "isFrozen": false, "isCollapsed": true, "angleToParent": 1, @@ -4014,7 +4074,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.BLACK\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "5748088c-1e80-4812-97e0-b169d25652fe", + "id": "69cd15b2-e80c-4946-a769-163e2d212c9e", "savedPayload": { "position": { "x": 14346.175379062774, @@ -4036,7 +4096,7 @@ } }, "styleConditions": [], - "id": "ddc691d5-5270-4627-b680-255663bbc3d4", + "id": "5e9da637-e435-463a-8d5c-030f945d4c01", "savedPayload": { "position": { "x": 14588.880477375258, @@ -4064,7 +4124,7 @@ "type": "Polygon Vertex", "name": " Max Vert Begin", "project": "Foundations", - "id": "cb11887e-447b-4f10-a84a-8f37b71f2d61", + "id": "93d962d1-1e70-40a5-9f0e-33d6de5e4578", "savedPayload": { "position": { "x": 15007.921151375485, @@ -4086,7 +4146,7 @@ "referenceParent": { "type": "Point", "name": "Max Vert Begin", - "id": "a265b1ce-501b-48d4-ae99-07e8c78d76e6" + "id": "07bf7aa6-4f46-403b-a132-359ee04fbb5f" } } }, @@ -4094,7 +4154,7 @@ "type": "Polygon Vertex", "name": " Max Vert End", "project": "Foundations", - "id": "5d6e83bc-0405-4cb0-ac30-94b410a1d6fb", + "id": "7604c1e6-1199-4d3a-94be-58287feda689", "savedPayload": { "position": { "x": 15074.290674000227, @@ -4116,12 +4176,12 @@ "referenceParent": { "type": "Point", "name": "Max Vert End", - "id": "4cb78491-67ac-41f7-837f-934c25472570" + "id": "665797e9-cc47-46f9-a1f2-3b0c3897f604" } } } ], - "id": "7359b1eb-ffbd-4356-ab92-0cc8c7c51749", + "id": "df569573-3041-4a5a-aae6-feb2c6fbc658", "savedPayload": { "position": { "x": 14097.085810254188, @@ -4157,7 +4217,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.BLACK\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "d7775860-168a-4ca7-8ce7-96ab5c5ed478", + "id": "679910d9-3725-4185-bfe4-2b8e953e84fb", "savedPayload": { "position": { "x": 15125.977151513514, @@ -4179,7 +4239,7 @@ } }, "styleConditions": [], - "id": "eb3e35c4-6516-4c08-a48d-899c79fdf68f", + "id": "5605b987-d29d-4c7c-952f-6bee2f26048d", "savedPayload": { "position": { "x": 15033.27205320103, @@ -4207,7 +4267,7 @@ "type": "Polygon Vertex", "name": " Min Vert Begin", "project": "Foundations", - "id": "41f49bae-6821-4786-8ddd-8dfa0df1a16e", + "id": "afb9ad90-3bcd-41dd-bfc7-0941ba1bec4e", "savedPayload": { "position": { "x": 15225.88390977709, @@ -4229,7 +4289,7 @@ "referenceParent": { "type": "Point", "name": "Min Vert Begin", - "id": "40bb6e1b-ab2a-4121-8ad7-a12b712d24ca" + "id": "9d790e5d-4897-4f15-90aa-e923491162ae" } } }, @@ -4237,7 +4297,7 @@ "type": "Polygon Vertex", "name": " Min Vert End", "project": "Foundations", - "id": "6a08d6f4-8cee-45ce-a787-a1d325cdee76", + "id": "7a9e4173-77aa-4d19-895e-df5edaff72d3", "savedPayload": { "position": { "x": 14847.86185657606, @@ -4259,12 +4319,12 @@ "referenceParent": { "type": "Point", "name": "Min Vert End", - "id": "179d92fa-959e-4b1c-99ec-000a1fa697f3" + "id": "f7b40927-b0eb-454e-9126-5ebafbc41bac" } } } ], - "id": "91c0f5fb-4614-4d89-b2dd-a7cf120be416", + "id": "d2842bad-bb27-441f-8b3d-ea01b2fe2a41", "savedPayload": { "position": { "x": 14273.421385941929, @@ -4300,7 +4360,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 20,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.TRUE_GREEN\"\n },\n \"atMousePosition\": {\n \"opacity\": 1,\n \"lineWidth\": 40,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.TITANIUM_YELLOW\"\n }\n}", "project": "Foundations", - "id": "22d7161c-afe5-4cf5-911f-43afecf99774", + "id": "82489b54-015b-4926-8665-d47e33da2f9a", "savedPayload": { "position": { "x": 14098.770584237225, @@ -4325,14 +4385,14 @@ { "type": "Style Condition", "name": "New Style Condition", - "code": "record.HeikinClose Nperiod */\n\nvariable.lastNPeriodTR.push(calculateTR())\nif (variable.lastNPeriodTR.length > Nperiod) {\n variable.lastNPeriodTR.splice(0, 1)\n}\n\n/* Calculate ATR */\nfunction calculateATR(length) {\n return calculateRMA(variable.trueRange, length)\n}\n\n/* Calculate True Range */\nfunction calculateTR() {\n let hl = currCandle.max - currCandle.min \n if (variable.prevClose === 0) { return hl } // Return High-Low when previous Close is 0 \n let hcp = Math.abs(currCandle.max - variable.prevClose)\n let lcp = Math.abs(currCandle.min - variable.prevClose) \n return Math.max(hl, hcp, lcp)\n}\n\n/* Calculate RMA */\nfunction calculateRMA(src, length) { \n if (src.length < length) { return 0 } // We check we have enough values to make the calcs. If not, set value to zero \n let alpha=1/length // It's a constant\n if (isNaN(variable.prevAtrNperiod)) {\n return 0 \n } else {\n return alpha * src + (1 - alpha) * variable.prevAtrNperiod \n } \n \n}\n\n// Build Up Trend function\n\nvariable.up = variable.ohcl4 - (multiplier * variable.atrNPeriod)\n\nif (variable.last2uptrend.length > 2) {\n variable.last2uptrend.splice(0, 1)\n}\n\nvariable.up1 = variable.last2uptrend[variable.last2uptrend.length - 1] // Previous Up Trend \n\nvariable.uptrend = calculateUpTrend()\n\nvariable.last2uptrend.push(variable.uptrend) \n\nfunction calculateUpTrend() {\n if (variable.prevClose > variable.up1) {\n return Math.max(variable.up, variable.up1)\n } else {\n return variable.up\n }\n}\n\n// Build Down Trend function\n\nvariable.dn = variable.ohcl4 + (multiplier * variable.atrNPeriod)\n\nif (variable.last2downtrend.length > 2) {\n variable.last2downtrend.splice(0, 1)\n}\n\nvariable.dn1 = variable.last2downtrend[variable.last2downtrend.length - 1] // Previous Down Trend\n\nvariable.downtrend = calculateDnTrend()\n\nvariable.last2downtrend.push(variable.downtrend) \n\nfunction calculateDnTrend() {\n if (variable.prevClose < variable.dn1) {\n return Math.min(variable.dn, variable.dn1)\n } else {\n return variable.dn\n }\n}\n\n\n// Build Trend function\n\nif (variable.last2Trend.length > 2) {\n variable.last2Trend.splice(0, 1)\n}\n\nvariable.prevTrend = variable.last2Trend[variable.last2Trend.length - 1]\n\nvariable.trend = calculateTrend()\n\nvariable.last2Trend.push(variable.trend)\n\nfunction calculateTrend() {\n\n if (variable.trend = -1 && variable.currClose > variable.dn1) {\n return 1\n }\n else if (variable.trend = 1 && variable.currClose < variable.up1) {\n return -1\n } \n else {\n return variable.prevTrend\n }\n}\n\n// End of code :-)", "project": "Foundations", - "id": "f9048c50-c7a7-4942-92ae-0765ee06289d", + "id": "517966f9-2919-4d43-b8a7-3cd100f5ada2", "savedPayload": { "position": { "x": 19499.95917987371, @@ -1129,7 +1129,7 @@ "uiObject": {} } }, - "id": "c93339fd-527a-4179-a235-5795aa00d589", + "id": "f50e19a0-7948-485a-ad7b-ce94ae0db550", "savedPayload": { "position": { "x": 19488.1997277561, @@ -1161,7 +1161,7 @@ "name": "New Procedure Javascript Code", "code": "/* Initialization Code*/\n\n//// Arrays to store past data\nvariable.lastNPeriodTR = []\nvariable.last2uptrend = [0]\nvariable.last2downtrend = [0]\nvariable.last2Trend = [0]\n\n// Initialize trend\nvariable.trend = 1", "project": "Foundations", - "id": "2d4d73dc-bdd2-44a8-ae8c-a0c53863480a", + "id": "dd227dc4-0504-4c3a-8191-45910159bfc8", "savedPayload": { "position": { "x": 19327.407206482792, @@ -1182,7 +1182,7 @@ "uiObject": {} } }, - "id": "541b2c20-72f2-495f-9a5b-7e4f68c28d93", + "id": "a870c801-9ca4-4c3d-9c06-0ce55be5bbae", "savedPayload": { "position": { "x": 19373.16507882882, @@ -1205,7 +1205,7 @@ } } }, - "id": "a7c534f3-0674-4ac2-8915-465976baa115", + "id": "1a803b03-da6b-48b2-8341-b410ba324bfb", "savedPayload": { "position": { "x": 19464.680823520877, @@ -1228,7 +1228,7 @@ } } }, - "id": "3e976800-246b-4d48-9b92-a8784af4cd5c", + "id": "4ca8ba10-5aad-4c65-bca7-a1d4f12956da", "savedPayload": { "position": { "x": 19535.07633278898, @@ -1252,12 +1252,12 @@ "referenceParent": { "type": "Plotter Module", "name": "Super Trend 14-3", - "id": "f44e4e81-5a61-43b1-bc91-ab12f4fbe711" + "id": "82873f57-4144-476a-ac02-33535b230251" } } } ], - "id": "840fa52d-78c9-4c58-9c74-292a0c3ba8d2", + "id": "bc2bba36-6f65-4b8c-8dc2-9ff1a1807571", "savedPayload": { "position": { "x": 19216.878281255034, @@ -1300,7 +1300,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Market Super Trend 9-2", "project": "Foundations", - "id": "2f09a023-48b7-470a-b8c6-338ac58a7875", + "id": "614e63f3-9841-43e4-93ab-e3edb4391c6c", "savedPayload": { "position": { "x": 19572.33550214046, @@ -1322,13 +1322,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Market", - "id": "76a91ebe-4a1a-4919-85ed-5074ac8e2074" + "id": "78d1b811-4264-46ef-99cf-54b38a48fae5" } } } ], "outputDatasetFolders": [], - "id": "c2f7c075-10e1-4263-8b80-2ec37f622d22", + "id": "6af9b989-a889-405f-abd8-84e1493a06db", "savedPayload": { "position": { "x": 19508.942762879356, @@ -1361,7 +1361,7 @@ "name": "", "config": "{ \n\"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "2c47b3ac-223f-421e-9996-203afcf410db", + "id": "4be2931f-c06f-4dbf-ba28-f4fac196c7b3", "savedPayload": { "position": { "x": 19743.39009020503, @@ -1383,7 +1383,7 @@ "referenceParent": { "type": "Status Report", "name": "New Status Report", - "id": "aff5e263-4040-49a3-957c-d2f46f58fce0" + "id": "50ec9347-6174-4058-adf2-14c75c1f6e79" } } }, @@ -1392,7 +1392,7 @@ "name": "Candles Volumes Multi-Time-Frame-Market", "config": "{ \n\"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "da95e31b-d0f3-4275-8f84-a09dee3a6620", + "id": "215917f9-b399-412a-b550-97ce7c927098", "savedPayload": { "position": { "x": 19937.041250191647, @@ -1424,7 +1424,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Market", "project": "Foundations", - "id": "cdf154fc-c2a6-4297-bd6b-3a93a0a89467", + "id": "f0fa16a9-4f25-482d-aa6e-4645afff9b7f", "savedPayload": { "position": { "x": 19986.737962808613, @@ -1452,7 +1452,7 @@ } ], "dataMineDataDependencies": [], - "id": "8f5ce32a-4195-4b37-a28c-9817fb87d136", + "id": "0ad16ee0-2deb-40f2-b114-c642cfc1b7bf", "savedPayload": { "position": { "x": 19691.29563690495, @@ -1479,7 +1479,7 @@ "type": "Status Report", "name": "New Status Report", "project": "Foundations", - "id": "aff5e263-4040-49a3-957c-d2f46f58fce0", + "id": "50ec9347-6174-4058-adf2-14c75c1f6e79", "savedPayload": { "position": { "x": 19744.408433045777, @@ -1504,7 +1504,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "96c0ed73-f571-42fc-ac15-f7bed1559e1d", + "id": "1cdca244-4d7f-4cf7-9f92-ec0cea504438", "savedPayload": { "position": { "x": 19717.442359729248, @@ -1534,7 +1534,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "540d4304-c365-4238-8a74-977f46c5e10e", + "id": "8d63fec7-1a60-4c11-ac27-815feb9faa0a", "savedPayload": { "position": { "x": 19617.622954523566, @@ -1555,7 +1555,7 @@ "uiObject": {} } }, - "id": "10960854-b830-443f-95e7-bf8523296201", + "id": "215fe5bc-db25-4c13-8508-8c8101a19935", "savedPayload": { "position": { "x": 19466.463650277088, @@ -1592,7 +1592,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Daily Super Trend 9-2", "project": "Foundations", - "id": "af3fdfa5-ba84-4d73-902c-cdfc8e844097", + "id": "09f31534-ddac-4347-847c-312e0f461cd0", "savedPayload": { "position": { "x": 19956.108765796365, @@ -1614,13 +1614,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Daily", - "id": "d56bbf75-29c9-425a-81bf-743556c94f02" + "id": "3537a214-46c7-450a-a232-fa7d1862c93d" } } } ], "outputDatasetFolders": [], - "id": "6e696ddc-c0ac-4076-bb81-435bce0d5a70", + "id": "fb3cd5a9-5a1d-4ebe-88e5-7da21d21cc3e", "savedPayload": { "position": { "x": 19696.301144661033, @@ -1653,7 +1653,7 @@ "name": "", "config": "{ \n\"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "2debbfe3-c0ba-44bb-8c8c-ea3b169d6281", + "id": "8bbad8a0-8523-4c9f-9062-823a1695517a", "savedPayload": { "position": { "x": 20003.79548078221, @@ -1675,7 +1675,7 @@ "referenceParent": { "type": "Status Report", "name": "New Status Report", - "id": "9dd91ffc-5a23-4519-9e95-b33e66664078" + "id": "3558f87e-7e57-4537-b209-58f7237f0f54" } } }, @@ -1684,7 +1684,7 @@ "name": "", "config": "{ \n\"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "e2711dd4-cc3a-4d62-9557-3cb6cd6a7deb", + "id": "dd1f881b-5634-43cf-b8ce-149527e5ecd0", "savedPayload": { "position": { "x": 20032.80002570424, @@ -1715,7 +1715,7 @@ "name": "Exchange Raw Data Historic-OHLCVs", "config": "{ \n\"mainUtility\": \"Market Starting Point\"\n}", "project": "Foundations", - "id": "6bdd25f9-decb-4c74-be9e-84ca6f920ff0", + "id": "b48c5f02-a898-4a7c-b52f-1f511c68f283", "savedPayload": { "position": { "x": 20032.80002570424, @@ -1747,7 +1747,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Daily", "project": "Foundations", - "id": "c1d9984d-48b6-47b5-af96-3c84182c9bfc", + "id": "619a57cf-c596-48fc-bd79-00a136d67a5e", "savedPayload": { "position": { "x": 20003.79548078221, @@ -1775,7 +1775,7 @@ } ], "dataMineDataDependencies": [], - "id": "70e6ae93-5699-4cf3-8764-dd7a16fc4246", + "id": "8f2325c9-6aae-45fc-a997-32d6118b8fa3", "savedPayload": { "position": { "x": 19736.4935235257, @@ -1802,7 +1802,7 @@ "type": "Status Report", "name": "New Status Report", "project": "Foundations", - "id": "9dd91ffc-5a23-4519-9e95-b33e66664078", + "id": "3558f87e-7e57-4537-b209-58f7237f0f54", "savedPayload": { "position": { "x": 19566.397334093366, @@ -1827,7 +1827,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "3bdb901d-fac0-469c-b5cb-6c91f71fe7e6", + "id": "078e8159-4720-4580-b955-7bb5136c9cf5", "savedPayload": { "position": { "x": 19511.4935235257, @@ -1857,7 +1857,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "6607fb56-57fd-4592-b87a-861833b1b496", + "id": "0dc4b511-1590-49f3-b07a-3cc76eb0d1cd", "savedPayload": { "position": { "x": 19436.4935235257, @@ -1878,7 +1878,7 @@ "uiObject": {} } }, - "id": "4f334057-f68c-4e35-b0f8-972ec407fca2", + "id": "2348cb3c-faba-4f1e-ab4b-3fec64a67872", "savedPayload": { "position": { "x": 19436.4935235257, @@ -1914,7 +1914,7 @@ "name": "Multi-Time-Frame-Market", "config": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [ \"24-hs\", \"12-hs\", \"08-hs\", \"06-hs\", \"04-hs\", \"03-hs\", \"02-hs\", \"01-hs\" ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\"\n }", "project": "Foundations", - "id": "76a91ebe-4a1a-4919-85ed-5074ac8e2074", + "id": "78d1b811-4264-46ef-99cf-54b38a48fae5", "savedPayload": { "position": { "x": 19713.265664610244, @@ -1940,7 +1940,7 @@ "name": "Multi-Time-Frame-Daily", "config": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [ \"45-min\", \"40-min\", \"30-min\", \"20-min\", \"15-min\", \"10-min\", \"05-min\", \"04-min\", \"03-min\", \"02-min\", \"01-min\" ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n }\n }", "project": "Foundations", - "id": "d56bbf75-29c9-425a-81bf-743556c94f02", + "id": "3537a214-46c7-450a-a232-fa7d1862c93d", "savedPayload": { "position": { "x": 19538.242038443266, @@ -1977,7 +1977,7 @@ "name": "New Formula", "code": "record.current.begin", "project": "Foundations", - "id": "dea6348d-3399-4edb-bbf4-9aa57d75a17b", + "id": "673b5b4f-aab1-459f-b674-4dc959aaabf5", "savedPayload": { "position": { "x": 19855.29717900401, @@ -1998,7 +1998,7 @@ "uiObject": {} } }, - "id": "ed997b34-2455-468d-8814-9cfd9078905f", + "id": "d693093d-df3d-4817-87f7-76fcfe448545", "savedPayload": { "position": { "x": 19652.21549002529, @@ -2031,7 +2031,7 @@ "name": "New Formula", "code": "record.current.end", "project": "Foundations", - "id": "0a4b8520-a758-4a2a-acda-834a0b3127e3", + "id": "6ca3f4ba-b47e-4448-b216-6b7cd559c741", "savedPayload": { "position": { "x": 19697.715271360084, @@ -2052,7 +2052,7 @@ "uiObject": {} } }, - "id": "52a6396b-0472-4727-b768-384e0c9c841b", + "id": "fce39c96-7f47-4843-925a-a4fb125297ef", "savedPayload": { "position": { "x": 19547.16088492934, @@ -2085,7 +2085,7 @@ "name": "New Formula", "code": "variable.trueRange", "project": "Foundations", - "id": "bcfe7960-e780-4b1a-a522-56fe088aec46", + "id": "feefd1ba-2d33-4a99-a689-c49aab085bb0", "savedPayload": { "position": { "x": 19471.371742050647, @@ -2106,7 +2106,7 @@ "uiObject": {} } }, - "id": "6429f5c9-7be0-4024-9b81-d1cec15ca2bb", + "id": "6c6ec0cb-6101-4c83-807f-b6e4b806ac00", "savedPayload": { "position": { "x": 19396.26519872305, @@ -2139,7 +2139,7 @@ "name": "New Formula", "code": "variable.atrNPeriod", "project": "Foundations", - "id": "b92ed09e-bd5f-42de-8440-a40a8d448509", + "id": "0536aec7-c614-45cc-949c-cd5eff9727d5", "savedPayload": { "position": { "x": 19210.725341603866, @@ -2160,7 +2160,7 @@ "uiObject": {} } }, - "id": "4ebb126f-dbef-4aaf-8476-7dee0dc766dc", + "id": "1b0caed2-3d55-430c-b72e-4ac7846bfa55", "savedPayload": { "position": { "x": 19222.500931758528, @@ -2193,7 +2193,7 @@ "name": "New Formula", "code": "variable.uptrend", "project": "Foundations", - "id": "eaa68ed6-db72-4f45-a77a-012acbef85da", + "id": "8a007c28-f3d0-45a0-b66c-47672ddae7b0", "savedPayload": { "position": { "x": 18955.457121722255, @@ -2214,7 +2214,7 @@ "uiObject": {} } }, - "id": "f9f110df-273f-40c6-8be4-775437a146c3", + "id": "9ed14571-555e-4e2d-9f97-fac97de4f8e1", "savedPayload": { "position": { "x": 19052.322118504122, @@ -2247,7 +2247,7 @@ "name": "New Formula", "code": "variable.downtrend", "project": "Foundations", - "id": "2fd6d277-88d2-4273-8bab-3833bb53712e", + "id": "3496e03b-b30c-4f29-87a0-b128ec1c1906", "savedPayload": { "position": { "x": 18744.429354870612, @@ -2268,7 +2268,7 @@ "uiObject": {} } }, - "id": "e8324f3b-4f95-4a32-a871-228eeaa143fd", + "id": "da94c505-6973-4c85-b282-185e5822c095", "savedPayload": { "position": { "x": 18911.636940603024, @@ -2301,7 +2301,7 @@ "name": "New Formula", "code": "variable.trend", "project": "Foundations", - "id": "b82b1e36-5ddd-4d37-87b3-ad1044d3ccd5", + "id": "086fd469-9af1-4025-b173-6ce1b342f8c2", "savedPayload": { "position": { "x": 18609.76910558063, @@ -2322,7 +2322,7 @@ "uiObject": {} } }, - "id": "a5800c92-c204-4046-86ac-625178a25545", + "id": "6599f013-6429-4a7c-878f-65cabda03fa5", "savedPayload": { "position": { "x": 18821.863441076373, @@ -2346,7 +2346,7 @@ } } ], - "id": "125bcba1-9740-43e5-9410-070055622778", + "id": "7cd594e2-866f-449e-a719-adec442f1103", "savedPayload": { "position": { "x": 19246.052112067853, @@ -2382,7 +2382,7 @@ "name": "New Procedure Javascript Code", "code": "/* Loop Code */\n\n/* Big thanks to @rico4dev for providing the base start for ATR calcs\nI made some tweaks so now the way ATR is calculated matches TradingView :-)\n */\n\n// Set parameters to be used for ATR Period and Multiplier\nlet Nperiod = 9 // ATR Period\nlet multiplier = 2 // ATR Multiplier\n\n// Get Current and Previous Candle Data\nlet currCandle = record.current \nlet prevCandle = record.previous \n\n/* We need to build the price source\nFor current price there is no problem, we have data\nFor previous price we must check if exist\nSource price is defined as OHCL4*/\n\n// OHCL4 Source for current price\nvariable.currClose = currCandle.close\nvariable.ohcl4 = (currCandle.max + currCandle.min + currCandle.close + currCandle.open)/4\n\n// OHCL4 Source for previous candle price - make sure data exists\nif (prevCandle === undefined) {\n variable.prevClose = currCandle.close\n variable.prev_ohcl4 = 0 \n} else {\n variable.prevClose = prevCandle.close\n variable.prev_ohcl4 = (prevCandle.max + prevCandle.min + prevCandle.close + prevCandle.open)/4\n}\n\n/* Define variables we need and build functions */\n/* True Range and ATR - Average True Range */\n\nvariable.trueRange = calculateTR()\nvariable.atrNPeriod = calculateATR(Nperiod)\nvariable.prevAtrNperiod = variable.atrNPeriod // Store ATR value for calcs in RMA\n\n/* To keep lastNperiodTR array to a fixed length\nwe remove the first element of the array if length is > Nperiod */\n\nvariable.lastNPeriodTR.push(calculateTR())\nif (variable.lastNPeriodTR.length > Nperiod) {\n variable.lastNPeriodTR.splice(0, 1)\n}\n\n/* Calculate ATR */\nfunction calculateATR(length) {\n return calculateRMA(variable.trueRange, length)\n}\n\n/* Calculate True Range */\nfunction calculateTR() {\n let hl = currCandle.max - currCandle.min \n if (variable.prevClose === 0) { return hl } // Return High-Low when previous Close is 0 \n let hcp = Math.abs(currCandle.max - variable.prevClose)\n let lcp = Math.abs(currCandle.min - variable.prevClose) \n return Math.max(hl, hcp, lcp)\n}\n\n/* Calculate RMA */\nfunction calculateRMA(src, length) { \n if (src.length < length) { return 0 } // We check we have enough values to make the calcs. If not, set value to zero \n let alpha=1/length // It's a constant\n if (isNaN(variable.prevAtrNperiod)) {\n return 0 \n } else {\n return alpha * src + (1 - alpha) * variable.prevAtrNperiod \n } \n \n}\n\n// Build Up Trend function\n\nvariable.up = variable.ohcl4 - (multiplier * variable.atrNPeriod)\n\nif (variable.last2uptrend.length > 2) {\n variable.last2uptrend.splice(0, 1)\n}\n\nvariable.up1 = variable.last2uptrend[variable.last2uptrend.length - 1] // Previous Up Trend \n\nvariable.uptrend = calculateUpTrend()\n\nvariable.last2uptrend.push(variable.uptrend) \n\nfunction calculateUpTrend() {\n if (variable.prevClose > variable.up1) {\n return Math.max(variable.up, variable.up1)\n } else {\n return variable.up\n }\n}\n\n// Build Down Trend function\n\nvariable.dn = variable.ohcl4 + (multiplier * variable.atrNPeriod)\n\nif (variable.last2downtrend.length > 2) {\n variable.last2downtrend.splice(0, 1)\n}\n\nvariable.dn1 = variable.last2downtrend[variable.last2downtrend.length - 1] // Previous Down Trend\n\nvariable.downtrend = calculateDnTrend()\n\nvariable.last2downtrend.push(variable.downtrend) \n\nfunction calculateDnTrend() {\n if (variable.prevClose < variable.dn1) {\n return Math.min(variable.dn, variable.dn1)\n } else {\n return variable.dn\n }\n}\n\n\n// Build Trend function\n\nif (variable.last2Trend.length > 2) {\n variable.last2Trend.splice(0, 1)\n}\n\nvariable.prevTrend = variable.last2Trend[variable.last2Trend.length - 1]\n\nvariable.trend = calculateTrend()\n\nvariable.last2Trend.push(variable.trend)\n\nfunction calculateTrend() {\n\n if (variable.trend = -1 && variable.currClose > variable.dn1) {\n return 1\n }\n else if (variable.trend = 1 && variable.currClose < variable.up1) {\n return -1\n } \n else {\n return variable.prevTrend\n }\n}\n\n// End of code :-)", "project": "Foundations", - "id": "c3d645b5-71cf-4a9c-8e9b-a1552877af1c", + "id": "9a2aa6cf-53e2-4a1d-baf2-bb95fbd511fe", "savedPayload": { "position": { "x": 18872.686679675993, @@ -2403,7 +2403,7 @@ "uiObject": {} } }, - "id": "8bc8c596-06a9-4bb3-9a21-d8929387757d", + "id": "f13c33a5-a916-49c9-a0de-1fe0cb98d2c4", "savedPayload": { "position": { "x": 18918.44455202202, @@ -2435,7 +2435,7 @@ "name": "New Procedure Javascript Code", "code": "/* Initialization Code*/\n\n//// Arrays to store past data\nvariable.lastNPeriodTR = []\nvariable.last2uptrend = [0]\nvariable.last2downtrend = [0]\nvariable.last2Trend = [0]\n\n// Initialize trend\nvariable.trend = 1", "project": "Foundations", - "id": "4a1010e3-5f94-4690-809c-08f931c63c2f", + "id": "1ca2f12a-9ae5-4a71-99a3-610c098325e0", "savedPayload": { "position": { "x": 18736.917061112534, @@ -2456,7 +2456,7 @@ "uiObject": {} } }, - "id": "03363ce5-ef61-41e6-982b-41f37bd5fc07", + "id": "7aedb061-3278-4ce7-9443-9ad761161692", "savedPayload": { "position": { "x": 18827.931472979715, @@ -2479,7 +2479,7 @@ } } }, - "id": "20bcc3bb-9af3-4f1b-9f2b-705734c3275e", + "id": "e55148f7-4f31-4625-9e7c-280a9622ce41", "savedPayload": { "position": { "x": 19009.960296714078, @@ -2502,7 +2502,7 @@ } } }, - "id": "353d85a9-fde8-4c92-b8be-d7b5c01192f4", + "id": "7ab7372b-c363-4d77-a84c-e96351a6e69c", "savedPayload": { "position": { "x": 19293.154472686503, @@ -2526,12 +2526,12 @@ "referenceParent": { "type": "Plotter Module", "name": "Super Trend 9-2", - "id": "b55c01eb-a3ad-4c28-8235-6921c8e809c0" + "id": "0ff6e923-810a-4e42-8869-5061e57b91d5" } } } ], - "id": "ec9e3b67-e80d-48c6-8d3f-83aacf0ca54e", + "id": "0a96eefa-898b-469f-a5e8-6fa5adf6826c", "savedPayload": { "position": { "x": 19194.04214100842, @@ -2574,7 +2574,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Market FastTrend", "project": "Foundations", - "id": "52812d7d-88b0-46aa-9481-dddc151ed45b", + "id": "9303bcf6-29b3-4a07-b2fb-db40f8346110", "savedPayload": { "position": { "x": 19780.08767759128, @@ -2596,13 +2596,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Market", - "id": "cd533f70-02a7-4a4a-9a89-5612d7c607ad" + "id": "9e82717f-3f85-4bc7-9f9d-c0c06ecca489" } } } ], "outputDatasetFolders": [], - "id": "4bb08a56-8c88-412f-b1ee-e9979b859e17", + "id": "9b71941c-2fe8-49de-96b9-2f02699cefc6", "savedPayload": { "position": { "x": 19528.486507207654, @@ -2635,7 +2635,7 @@ "name": "Candles Volumes Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "3ea8ca7a-88b9-4f2c-89d1-95c87f62ca99", + "id": "c7f9610d-1c0f-43b9-8e05-c5da0cb78b6e", "savedPayload": { "position": { "x": 20007.725961386637, @@ -2666,7 +2666,7 @@ "name": "FastTrend Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "b0dd1e33-8b3d-46ef-9f4e-e50f8f261ed4", + "id": "381d79f5-2211-4e09-8e16-69d3106dbf37", "savedPayload": { "position": { "x": 19887.14976905374, @@ -2688,7 +2688,7 @@ "referenceParent": { "type": "Status Report", "name": "Market-FastTrend", - "id": "32aecd93-c324-4b59-9184-7b62844f53d6" + "id": "9c44a5ce-ccfe-4030-81ae-31acf4c52301" } } } @@ -2698,7 +2698,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Market", "project": "Foundations", - "id": "d260c2ce-9474-4b08-8d21-01533ffeec22", + "id": "9ee1ba0e-71b0-41ad-a4d3-c591262bda11", "savedPayload": { "position": { "x": 19807.63317416257, @@ -2726,7 +2726,7 @@ } ], "dataMineDataDependencies": [], - "id": "fd65a213-092d-43a5-bb8a-b79bd3bc4fcc", + "id": "0ac315d0-e19f-4a61-b8a5-31d124474bab", "savedPayload": { "position": { "x": 19726.268627463585, @@ -2753,7 +2753,7 @@ "type": "Status Report", "name": "Market-FastTrend", "project": "Foundations", - "id": "32aecd93-c324-4b59-9184-7b62844f53d6", + "id": "9c44a5ce-ccfe-4030-81ae-31acf4c52301", "savedPayload": { "position": { "x": 19544.187294080537, @@ -2778,7 +2778,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "2d8a1a2c-db75-4a2b-86d4-bccb3b3ca1a1", + "id": "4a01a5f3-4576-4b9d-9eff-c48f28850faf", "savedPayload": { "position": { "x": 19358.581192076283, @@ -2808,7 +2808,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "bed8f593-eecf-4bc8-9395-816e88b2b94d", + "id": "a6e673cc-dc32-4da9-8942-a9c71fef86b0", "savedPayload": { "position": { "x": 19284.73573026047, @@ -2829,15 +2829,15 @@ "uiObject": {} } }, - "id": "a71a8e0d-fe3d-4ca5-9f3a-3c3f67efff05", + "id": "c7116fce-17c5-4a13-a11f-b836da6b0b4b", "savedPayload": { "position": { - "x": 19356.656029141755, - "y": 10080.255710561032 + "x": 19429.010315610998, + "y": 9954.93441025091 }, "targetPosition": { - "x": 19066.878281255034, - "y": 10002.609997030277 + "x": 19129.010315610998, + "y": 9954.93441025091 }, "floatingObject": { "isPinned": false, @@ -2866,7 +2866,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Daily FastTrend", "project": "Foundations", - "id": "fbee94c5-049c-4eb0-a54e-3f99c8571068", + "id": "95745d8d-d545-405a-af85-5845f45cb8fa", "savedPayload": { "position": { "x": 19584.882760326742, @@ -2888,13 +2888,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Daily", - "id": "fc49ec9b-84a8-4b16-9a49-ea4b2dd5a94b" + "id": "fe10349c-d8da-48fd-bc85-e7d15b9c3453" } } } ], "outputDatasetFolders": [], - "id": "9872c692-27dd-4318-a8e1-d40bb9e175ff", + "id": "3b0fe9e7-87e0-4ffe-96d2-d58ab7f0af58", "savedPayload": { "position": { "x": 19302.97497409097, @@ -2927,7 +2927,7 @@ "name": "FastTrend Multi-Time-Frame-Daily", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "a7556ce1-064e-4259-af3c-84f95c0df1fc", + "id": "3b7da14d-47ff-4dcd-9b72-ada928ab6bcf", "savedPayload": { "position": { "x": 19490.05492679689, @@ -2949,7 +2949,7 @@ "referenceParent": { "type": "Status Report", "name": "Daily-FasTrend", - "id": "aa5d8662-36ff-49ba-84d9-d450815dc115" + "id": "f121a69c-3539-4084-bcd9-0fa9b9d55559" } } }, @@ -2958,7 +2958,7 @@ "name": "", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "11c687df-9c5e-4061-96e1-cda295342d87", + "id": "191eb6e3-d82e-4f6a-bbea-3b341b6a86c5", "savedPayload": { "position": { "x": 19440.31634482799, @@ -2989,7 +2989,7 @@ "name": "Exchange Raw Data Historic-OHLCVs", "config": "{\n \"mainUtility\": \"Market Starting Point\"\n}", "project": "Foundations", - "id": "8ccb9c0e-1e8e-4e8f-8598-67e4bebf7386", + "id": "efea3bca-dc02-4303-9f42-24e5527863ef", "savedPayload": { "position": { "x": 19368.414893234174, @@ -3021,7 +3021,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Daily", "project": "Foundations", - "id": "866f825d-a037-4a65-9199-1a9623a54bbc", + "id": "b1e813ea-20be-4e87-b6f6-a9c1cd3bc097", "savedPayload": { "position": { "x": 19281.388787064316, @@ -3049,7 +3049,7 @@ } ], "dataMineDataDependencies": [], - "id": "5163cf7b-9e8d-47fb-877a-04e1fdc75425", + "id": "b50b24a7-2ba0-477f-8c55-cc3a432b1144", "savedPayload": { "position": { "x": 19213.903470761157, @@ -3076,7 +3076,7 @@ "type": "Status Report", "name": "Daily-FasTrend", "project": "Foundations", - "id": "aa5d8662-36ff-49ba-84d9-d450815dc115", + "id": "f121a69c-3539-4084-bcd9-0fa9b9d55559", "savedPayload": { "position": { "x": 19047.114414505235, @@ -3101,7 +3101,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "046f4412-1230-4f1f-b711-6ecda9c585d8", + "id": "bfd6f5bd-6227-443c-a2c8-394546106c86", "savedPayload": { "position": { "x": 18969.764166356345, @@ -3131,7 +3131,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "4391c258-1dc2-4cb3-a119-7676d90ee63b", + "id": "063847d8-c4b4-4b06-99f3-d84c8b7fd286", "savedPayload": { "position": { "x": 18906.160521387348, @@ -3152,15 +3152,15 @@ "uiObject": {} } }, - "id": "0f2e9c25-aa5c-443e-af44-fba854449772", + "id": "8010c013-0567-4bbb-90bd-c49fc06871ae", "savedPayload": { "position": { - "x": 19216.878281255034, - "y": 10262.417618165608 + "x": 19341.14234996696, + "y": 10167.066444606873 }, "targetPosition": { - "x": 19066.878281255034, - "y": 10002.609997030277 + "x": 19129.010315610998, + "y": 9954.93441025091 }, "floatingObject": { "isPinned": false, @@ -3188,15 +3188,15 @@ "name": "Multi-Time-Frame-Market", "config": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [\n \"24-hs\",\n \"12-hs\",\n \"08-hs\",\n \"06-hs\",\n \"04-hs\",\n \"03-hs\",\n \"02-hs\",\n \"01-hs\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\"\n}", "project": "Foundations", - "id": "cd533f70-02a7-4a4a-9a89-5612d7c607ad", + "id": "9e82717f-3f85-4bc7-9f9d-c0c06ecca489", "savedPayload": { "position": { - "x": 19399.793001598457, - "y": 10413.725438551033 + "x": 19556.985747943818, + "y": 10265.876762782184 }, "targetPosition": { - "x": 18950.4097109589, - "y": 10437.276618860358 + "x": 19129.010315610998, + "y": 10404.93441025091 }, "floatingObject": { "isPinned": false, @@ -3214,15 +3214,15 @@ "name": "Multi-Time-Frame-Daily", "config": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [\n \"45-min\",\n \"40-min\",\n \"30-min\",\n \"20-min\",\n \"15-min\",\n \"10-min\",\n \"05-min\",\n \"04-min\",\n \"03-min\",\n \"02-min\",\n \"01-min\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n }\n}", "project": "Foundations", - "id": "fc49ec9b-84a8-4b16-9a49-ea4b2dd5a94b", + "id": "fe10349c-d8da-48fd-bc85-e7d15b9c3453", "savedPayload": { "position": { - "x": 19111.675288254282, - "y": 10857.3878107841 + "x": 19393.513679142612, + "y": 10768.992057719635 }, "targetPosition": { - "x": 18950.4097109589, - "y": 10437.276618860358 + "x": 19129.010315610998, + "y": 10404.93441025091 }, "floatingObject": { "isPinned": false, @@ -3251,15 +3251,15 @@ "name": "New Record Formula", "code": "record.current.begin", "project": "Foundations", - "id": "c5eb330f-9400-40f1-ad21-034a610bf968", + "id": "248837fd-9f98-4e14-87c9-6c85ef448f78", "savedPayload": { "position": { - "x": 18898.46127788965, - "y": 11043.491657276307 + "x": 19237.99551025012, + "y": 10928.30806108905 }, "targetPosition": { - "x": 18740.91958091825, - "y": 10983.017065790538 + "x": 19069.41543027127, + "y": 10935.8790012107 }, "floatingObject": { "isPinned": false, @@ -3272,15 +3272,15 @@ "uiObject": {} } }, - "id": "798731e3-98f9-45a8-9e36-6a660765674c", + "id": "0d457699-b281-4ce1-b2c6-ae91bddb1387", "savedPayload": { "position": { - "x": 18740.91958091825, - "y": 10983.017065790538 + "x": 19069.41543027127, + "y": 10935.8790012107 }, "targetPosition": { - "x": 18425.836186975444, - "y": 10862.067882819 + "x": 18732.255270313577, + "y": 10951.020881453998 }, "floatingObject": { "isPinned": false, @@ -3305,15 +3305,15 @@ "name": "New Record Formula", "code": "record.current.end", "project": "Foundations", - "id": "997fcf07-63de-4dfd-a71b-d9aa38f55a2e", + "id": "02db9300-29bb-49ec-b300-4113687ccefe", "savedPayload": { "position": { - "x": 18505.031134902063, - "y": 11362.085105245287 + "x": 19065.336750320555, + "y": 11332.263311118328 }, "targetPosition": { - "x": 18478.632818926522, - "y": 11195.412697769858 + "x": 18954.30959031823, + "y": 11205.182501230218 }, "floatingObject": { "isPinned": false, @@ -3326,15 +3326,15 @@ "uiObject": {} } }, - "id": "4e930963-665c-4df8-af02-9afd708f88aa", + "id": "a9472421-6b41-4190-832d-564ca79a6014", "savedPayload": { "position": { - "x": 18478.632818926522, - "y": 11195.412697769858 + "x": 18954.30959031823, + "y": 11205.182501230218 }, "targetPosition": { - "x": 18425.836186975444, - "y": 10862.067882819 + "x": 18732.255270313577, + "y": 10951.020881453998 }, "floatingObject": { "isPinned": false, @@ -3359,15 +3359,15 @@ "name": "New Formula", "code": "variable.PositiveDisorder", "project": "Foundations", - "id": "a4e71ed5-c0b1-4305-b965-35aefb5501ba", + "id": "710e3f2c-7b54-4bba-9547-67dbe8fbc2aa", "savedPayload": { "position": { - "x": 18032.406043987852, - "y": 11180.66133078798 + "x": 18641.860842321767, + "y": 11449.135235682055 }, "targetPosition": { - "x": 18163.549424983717, - "y": 11074.463514798319 + "x": 18671.992318319037, + "y": 11283.097117606036 }, "floatingObject": { "isPinned": false, @@ -3380,15 +3380,15 @@ "uiObject": {} } }, - "id": "50461430-c046-4f7a-96fc-dcd00150713a", + "id": "86c33d30-8afe-47a9-a6fc-c1d2b3951455", "savedPayload": { "position": { - "x": 18163.549424983717, - "y": 11074.463514798319 + "x": 18671.992318319037, + "y": 11283.097117606036 }, "targetPosition": { - "x": 18425.836186975444, - "y": 10862.067882819 + "x": 18732.255270313577, + "y": 10951.020881453998 }, "floatingObject": { "isPinned": false, @@ -3413,15 +3413,15 @@ "name": "New Formula", "code": "variable.NegativeDisorder", "project": "Foundations", - "id": "bfcfc90d-ea44-43f4-aecd-023402d42ede", + "id": "764d059f-32e5-462e-9634-6edaf10c4164", "savedPayload": { "position": { - "x": 17953.211096061237, - "y": 10680.644108361692 + "x": 18286.453782311102, + "y": 11190.916891830953 }, "targetPosition": { - "x": 18110.75279303264, - "y": 10741.11869984746 + "x": 18435.054278311927, + "y": 11110.951555038635 }, "floatingObject": { "isPinned": false, @@ -3434,15 +3434,15 @@ "uiObject": {} } }, - "id": "c9ee6ddd-99a2-417c-94ab-3910fea99c43", + "id": "1d5a8817-a2a6-441b-9ab0-c394191b8e35", "savedPayload": { "position": { - "x": 18110.75279303264, - "y": 10741.11869984746 + "x": 18435.054278311927, + "y": 11110.951555038635 }, "targetPosition": { - "x": 18425.836186975444, - "y": 10862.067882819 + "x": 18732.255270313577, + "y": 10951.020881453998 }, "floatingObject": { "isPinned": false, @@ -3467,15 +3467,15 @@ "name": "New Formula", "code": "variable.FastTrend", "project": "Foundations", - "id": "0f5bbe70-4766-4dbf-9218-b182656cdb90", + "id": "957feeb2-2609-4d6e-920f-7e6d2a286cff", "savedPayload": { "position": { - "x": 18346.641239048826, - "y": 10362.050660392712 + "x": 18266.744335459403, + "y": 10752.0519591792 }, "targetPosition": { - "x": 18373.039555024367, - "y": 10528.72306786814 + "x": 18421.91464707746, + "y": 10818.3749332708 }, "floatingObject": { "isPinned": false, @@ -3488,15 +3488,69 @@ "uiObject": {} } }, - "id": "5a8967f1-14b8-412a-95b3-594644e67a7a", + "id": "527f935b-4c9a-449f-8afd-af5a56049fe3", "savedPayload": { "position": { - "x": 18373.039555024367, - "y": 10528.72306786814 + "x": 18421.91464707746, + "y": 10818.3749332708 }, "targetPosition": { - "x": 18425.836186975444, - "y": 10862.067882819 + "x": 18732.255270313577, + "y": 10951.020881453998 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 2, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + { + "type": "Record Property", + "name": "Intermediate Trend", + "config": "{\n \"codeName\": \"intertrend\",\n \"isString\": false,\n \"isCalculated\": false\n}", + "project": "Foundations", + "recordFormula": { + "type": "Record Formula", + "name": "New Record Formula", + "code": "variable.interTrend", + "project": "Foundations", + "id": "50564724-5e0d-41b4-a9c5-e2b63bd266e8", + "savedPayload": { + "position": { + "x": 18597.574117245447, + "y": 10463.014683226722 + }, + "targetPosition": { + "x": 18642.467834934825, + "y": 10625.683415969148 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 2, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "id": "306908ef-9368-419e-a259-1e26575c8ffc", + "savedPayload": { + "position": { + "x": 18642.467834934825, + "y": 10625.683415969148 + }, + "targetPosition": { + "x": 18732.255270313577, + "y": 10951.020881453998 }, "floatingObject": { "isPinned": false, @@ -3512,15 +3566,15 @@ } } ], - "id": "c8a67e87-aa2e-40e7-9c40-fb045dd1378d", + "id": "de854472-be06-4c83-967b-54edce248908", "savedPayload": { "position": { - "x": 18425.836186975444, - "y": 10862.067882819 + "x": 18732.255270313577, + "y": 10951.020881453998 }, "targetPosition": { - "x": 18950.4097109589, - "y": 10437.276618860358 + "x": 19129.010315610998, + "y": 10404.93441025091 }, "floatingObject": { "isPinned": false, @@ -3546,17 +3600,17 @@ "procedureJavascriptCode": { "type": "Procedure Javascript Code", "name": "New Procedure Javascript Code", - "code": "/* Loop Code */\n\nlet FTLen = 5 // Channel length\nlet candle = record.current\nlet BIAS = 0.35 // biased limit value for Math.log2 (0)\n\n\nif (variable.previousEma5 === undefined) {\nvariable.previousEma5 = candle.close\n}\n\n// Calculate EMA5\nvariable.Ema5 = calculateEMA(5, candle.close, variable.previousEma5)\nvariable.previousEma5 = variable.Ema5\n\n\n// Build arrays Max, Min, Close, Open\n\nvariable.lastMax.push(candle.max) \nvariable.lastMin.push(candle.min)\nvariable.lastOpens.push(candle.open)\nvariable.lastCloses.push(candle.close)\nvariable.lastEMA5s.push(variable.Ema5)\n\n\n\n// Keep the array the correct size\n\nif (variable.lastMax.length > FTLen) {\n variable.lastMax.splice(0, 1)\n}\n\nif (variable.lastMin.length > FTLen) {\n variable.lastMin.splice(0, 1)\n}\n\nif (variable.lastOpens.length > FTLen) {\n variable.lastOpens.splice(0, 1)\n}\n\nif (variable.lastCloses.length > FTLen) {\n variable.lastCloses.splice(0, 1)\n}\n\nif (variable.lastEMA5s.length > FTLen) {\n variable.lastEMA5s.splice(0, 1)\n}\n// Calculate indicator values\n\n\n\n\nvariable.PositiveDisorder = CalPosEntropy () // Positive disorder\nvariable.NegativeDisorder = CalNegEntropy () // Negative disorder\nif(variable.PositiveDisorder === 0 && variable.NegativeDisorder === 0){\n\tvariable.FastTrend = 0\n}\nelse {\n\tvariable.FastTrend = ( variable.NegativeDisorder - variable.PositiveDisorder ) / ( variable.NegativeDisorder + variable.PositiveDisorder)\n}//calculation of the fast trend indicator\n\n//functions\n//EMA5 calculation\nfunction calculateEMA(periods, price, previousEMA) {\n let k = 2 / (periods + 1)\n return price * k + previousEMA * (1-k)\n}\n\nfunction CalPosEntropy ()\n\n\n{variable.PosOpen = 0 // counter for values above EMA\nvariable.PosClose = 0 // counter for values above EMA\nvariable.PosMin = 0 // counter for values above EMA\nvariable.PosMax = 0 // counter for values above EMA\n\n\t\n\tif (variable.lastMax.length < FTLen) { return 0 }\n\tfor (var i = 0 ; i < FTLen ; i++) //loop over the arrays and increment counters each time a value is above EMA5 at the same index\n\t{\n\t\t\tif (variable.lastMax[i] > variable.lastEMA5s[i])\n\t\t\t{\n\t\t\t\tvariable.PosMax = variable.PosMax + 1\n\t\t\t}\n\t\t\tif (variable.lastMin[i] > variable.lastEMA5s[i])\n\t\t\t{\n\t\t\t\tvariable.PosMin = variable.PosMin + 1\n\t\t\t}\n\t\t\tif (variable.lastOpens[i] > variable.lastEMA5s[i])\n\t\t\t{\n\t\t\t\tvariable.PosOpen = variable.PosOpen + 1\n\t\t\t}\n\t\t\tif (variable.lastCloses[i] > variable.lastEMA5s[i])\n\t\t\t{\n\t\t\t\tvariable.PosClose = variable.PosClose + 1\n\t\t\t}\n\t\t\t\n\t}\n\tif (variable.PosMax > 0) // calculate entropy for Max candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntPosMax = (variable.PosMax / FTLen) * Math.log2(1/(variable.PosMax / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntPosMax = BIAS\n\t}\n\tif (variable.PosMin > 0) // calculate entropy for Min candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntPosMin = (variable.PosMin / FTLen) * Math.log2(1/(variable.PosMin / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntPosMin = BIAS\n\t}\n\tif (variable.PosOpen > 0) // calculate entropy for Open candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntPosOpen = (variable.PosOpen / FTLen) * Math.log2(1/(variable.PosOpen / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntPosOpen = BIAS\n\t}\n\tif (variable.PosClose > 0) // calculate entropy for Close candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntPosClose = (variable.PosClose / FTLen) * Math.log2(1/(variable.PosClose / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntPosClose = BIAS\n\t}\n\t\n\tvariable.PosEnt = variable.EntPosClose + variable.EntPosMax + variable.EntPosMin + variable.EntPosOpen //sum on 4 entropies\n\t\n\treturn variable.PosEnt\n}\n\nfunction CalNegEntropy ()\n\n{variable.NegOpen = 0 // counter for values below EMA\nvariable.NegClose = 0 // counter for values below EMA\nvariable.NegMin = 0 // counter for values below EMA\nvariable.NegMax = 0 // counter for values below EMA\n\t\n\tif (variable.lastMax.length < FTLen) { return 0 }\n\tfor (var j = 0 ; j < FTLen ; j++) //loop over the arrays and increment counters each time a value is above EMA5 at the same index\n\t{\n\t\t\tif (variable.lastMax[j] < variable.lastEMA5s[j])\n\t\t\t{\n\t\t\t\tvariable.NegMax = variable.NegMax + 1\n\t\t\t}\n\t\t\tif (variable.lastMin[j] < variable.lastEMA5s[j])\n\t\t\t{\n\t\t\t\tvariable.NegMin = variable.NegMin + 1\n\t\t\t}\n\t\t\tif (variable.lastOpens[j] < variable.lastEMA5s[j])\n\t\t\t{\n\t\t\t\tvariable.NegOpen = variable.NegOpen + 1\n\t\t\t}\n\t\t\tif (variable.lastCloses[j] < variable.lastEMA5s[j])\n\t\t\t{\n\t\t\t\tvariable.NegClose = variable.NegClose + 1\n\t\t\t}\n\t\t\t\n\t}\n\tif (variable.NegMax > 0) // calculate entropy for Max candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntNegMax = (variable.NegMax / FTLen) * Math.log2(1/(variable.NegMax / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntNegMax = BIAS\n\t}\n\tif (variable.NegMin > 0) // calculate entropy for Min candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntNegMin = (variable.NegMin / FTLen) * Math.log2(1/(variable.NegMin / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntNegMin = BIAS\n\t}\n\tif (variable.NegOpen > 0) // calculate entropy for Open candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntNegOpen = (variable.NegOpen / FTLen) * Math.log2(1/(variable.NegOpen / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntNegOpen = BIAS\n\t}\n\tif (variable.NegClose > 0) // calculate entropy for Close candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntNegClose = (variable.NegClose / FTLen) * Math.log2(1/(variable.NegClose / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntNegClose = BIAS\n\t}\n\t\n\tvariable.NegEnt = variable.EntNegClose + variable.EntNegMax + variable.EntNegMin + variable.EntNegOpen //sum on 4 entropies\n\t\n\treturn variable.NegEnt\n}\n\n// End of code :-)", + "code": "/* Loop Code */\n\nlet FTLen = 10 // Channel length\nlet candle = record.current\nlet BIAS = 0.35 // biased limit value for Math.log2 (0)\n\n\nif (variable.previousEma5 === undefined) {\nvariable.previousEma5 = candle.close\n}\n\n// Calculate EMA5\nvariable.Ema5 = calculateEMA(5, candle.close, variable.previousEma5)\nvariable.previousEma5 = variable.Ema5\n\n\n// Build arrays Max, Min, Close, Open\n\nvariable.lastMax.push(candle.max) \nvariable.lastMin.push(candle.min)\nvariable.lastOpens.push(candle.open)\nvariable.lastCloses.push(candle.close)\nvariable.lastEMA5s.push(variable.Ema5)\n\n\n\n// Keep the array the correct size\n\nif (variable.lastMax.length > FTLen) {\n variable.lastMax.splice(0, 1)\n}\n\nif (variable.lastMin.length > FTLen) {\n variable.lastMin.splice(0, 1)\n}\n\nif (variable.lastOpens.length > FTLen) {\n variable.lastOpens.splice(0, 1)\n}\n\nif (variable.lastCloses.length > FTLen) {\n variable.lastCloses.splice(0, 1)\n}\n\nif (variable.lastEMA5s.length > FTLen) {\n variable.lastEMA5s.splice(0, 1)\n}\n// Calculate indicator values\n\n\n\n\nvariable.PositiveDisorder = CalPosEntropy () // Positive disorder\nvariable.NegativeDisorder = CalNegEntropy () // Negative disorder\nif(variable.PositiveDisorder === 0 && variable.NegativeDisorder === 0){\n\tvariable.FastTrend = 0\n}\nelse {\n\tvariable.FastTrend = ( variable.NegativeDisorder - variable.PositiveDisorder ) / ( variable.NegativeDisorder + variable.PositiveDisorder)\n}//calculation of the fast trend indicator\n\nvariable.lastFastTrend.push(variable.FastTrend)\nif(variable.lastFastTrend.length > 2 ) {\n\tvariable.lastFastTrend.splice(0,1)\n}\n\n//Determine the intermediate trend i.e. pullbacks\nif(variable.lastMax.length < FTLen) {\n\tvariable.interTrend = 0\n}\nelse {\n\tif(variable.lastFastTrend.length === 2){\n\t\tvariable.Slope = variable.lastFastTrend[1] - variable.lastFastTrend[0]\n\t\tif(variable.Slope > 0) {\n\t\t\t\tvariable.interTrend = 1\n\t\t}\n\t\t\tif(variable.Slope < 0) {\n\t\t\t\tvariable.interTrend = -1\n\t\t}\n\t\t\tif(variable.Slope = 0) {\n\t\t\t\tvariable.interTrend = 0\n\t\t}\n\t}\n\telse {\n\t\tvariable.interTrend = 0\n\t}\n}\n//functions\n//EMA5 calculation\nfunction calculateEMA(periods, price, previousEMA) {\n let k = 2 / (periods + 1)\n return price * k + previousEMA * (1-k)\n}\n\nfunction CalPosEntropy ()\n\n\n{variable.PosOpen = 0 // counter for values above EMA\nvariable.PosClose = 0 // counter for values above EMA\nvariable.PosMin = 0 // counter for values above EMA\nvariable.PosMax = 0 // counter for values above EMA\n\n\t\n\tif (variable.lastMax.length < FTLen) { return 0 }\n\tfor (var i = 0 ; i < FTLen ; i++) //loop over the arrays and increment counters each time a value is above EMA5 at the same index\n\t{\n\t\t\tif (variable.lastMax[i] > variable.lastEMA5s[i])\n\t\t\t{\n\t\t\t\tvariable.PosMax = variable.PosMax + 1\n\t\t\t}\n\t\t\tif (variable.lastMin[i] > variable.lastEMA5s[i])\n\t\t\t{\n\t\t\t\tvariable.PosMin = variable.PosMin + 1\n\t\t\t}\n\t\t\tif (variable.lastOpens[i] > variable.lastEMA5s[i])\n\t\t\t{\n\t\t\t\tvariable.PosOpen = variable.PosOpen + 1\n\t\t\t}\n\t\t\tif (variable.lastCloses[i] > variable.lastEMA5s[i])\n\t\t\t{\n\t\t\t\tvariable.PosClose = variable.PosClose + 1\n\t\t\t}\n\t\t\t\n\t}\n\tif (variable.PosMax > 0) // calculate entropy for Max candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntPosMax = (variable.PosMax / FTLen) * Math.log2(1/(variable.PosMax / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntPosMax = BIAS\n\t}\n\tif (variable.PosMin > 0) // calculate entropy for Min candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntPosMin = (variable.PosMin / FTLen) * Math.log2(1/(variable.PosMin / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntPosMin = BIAS\n\t}\n\tif (variable.PosOpen > 0) // calculate entropy for Open candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntPosOpen = (variable.PosOpen / FTLen) * Math.log2(1/(variable.PosOpen / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntPosOpen = BIAS\n\t}\n\tif (variable.PosClose > 0) // calculate entropy for Close candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntPosClose = (variable.PosClose / FTLen) * Math.log2(1/(variable.PosClose / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntPosClose = BIAS\n\t}\n\t\n\tvariable.PosEnt = variable.EntPosClose + variable.EntPosMax + variable.EntPosMin + variable.EntPosOpen //sum on 4 entropies\n\t\n\treturn variable.PosEnt\n}\n\nfunction CalNegEntropy ()\n\n{variable.NegOpen = 0 // counter for values below EMA\nvariable.NegClose = 0 // counter for values below EMA\nvariable.NegMin = 0 // counter for values below EMA\nvariable.NegMax = 0 // counter for values below EMA\n\t\n\tif (variable.lastMax.length < FTLen) { return 0 }\n\tfor (var j = 0 ; j < FTLen ; j++) //loop over the arrays and increment counters each time a value is above EMA5 at the same index\n\t{\n\t\t\tif (variable.lastMax[j] < variable.lastEMA5s[j])\n\t\t\t{\n\t\t\t\tvariable.NegMax = variable.NegMax + 1\n\t\t\t}\n\t\t\tif (variable.lastMin[j] < variable.lastEMA5s[j])\n\t\t\t{\n\t\t\t\tvariable.NegMin = variable.NegMin + 1\n\t\t\t}\n\t\t\tif (variable.lastOpens[j] < variable.lastEMA5s[j])\n\t\t\t{\n\t\t\t\tvariable.NegOpen = variable.NegOpen + 1\n\t\t\t}\n\t\t\tif (variable.lastCloses[j] < variable.lastEMA5s[j])\n\t\t\t{\n\t\t\t\tvariable.NegClose = variable.NegClose + 1\n\t\t\t}\n\t\t\t\n\t}\n\tif (variable.NegMax > 0) // calculate entropy for Max candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntNegMax = (variable.NegMax / FTLen) * Math.log2(1/(variable.NegMax / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntNegMax = BIAS\n\t}\n\tif (variable.NegMin > 0) // calculate entropy for Min candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntNegMin = (variable.NegMin / FTLen) * Math.log2(1/(variable.NegMin / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntNegMin = BIAS\n\t}\n\tif (variable.NegOpen > 0) // calculate entropy for Open candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntNegOpen = (variable.NegOpen / FTLen) * Math.log2(1/(variable.NegOpen / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntNegOpen = BIAS\n\t}\n\tif (variable.NegClose > 0) // calculate entropy for Close candles above EMA5 ; return Bias value if count is 0 because of LOG function\n\t{\n\t\tvariable.EntNegClose = (variable.NegClose / FTLen) * Math.log2(1/(variable.NegClose / FTLen))\n\t}\n\telse\n\t{\n\t\tvariable.EntNegClose = BIAS\n\t}\n\t\n\tvariable.NegEnt = variable.EntNegClose + variable.EntNegMax + variable.EntNegMin + variable.EntNegOpen //sum on 4 entropies\n\t\n\treturn variable.NegEnt\n}\n\n// End of code :-)", "project": "Foundations", - "id": "1dad7682-3fd3-4a43-8fbc-8a18adc3068f", + "id": "a6be0538-8e9a-4caa-be74-a6fa9a9fed5b", "savedPayload": { "position": { - "x": 18011.27884208401, - "y": 10162.750077716939 + "x": 18150.826857865413, + "y": 10382.827088867172 }, "targetPosition": { - "x": 18348.31631006368, - "y": 10180.413462948933 + "x": 18480.95167311307, + "y": 10312.656893216179 }, "floatingObject": { "isPinned": false, @@ -3569,15 +3623,15 @@ "uiObject": {} } }, - "id": "ebeda9a8-9905-45ce-8d52-0287c8137c51", + "id": "86bb9096-b112-46b8-93b3-57308ba3650f", "savedPayload": { "position": { - "x": 18348.31631006368, - "y": 10180.413462948933 + "x": 18480.95167311307, + "y": 10312.656893216179 }, "targetPosition": { - "x": 18573.00795538346, - "y": 10192.189053103595 + "x": 18701.03488327818, + "y": 10265.876762782184 }, "floatingObject": { "isPinned": false, @@ -3599,17 +3653,17 @@ "procedureJavascriptCode": { "type": "Procedure Javascript Code", "name": "New Procedure Javascript Code", - "code": "/* Initialization Code*/\n\nvariable.lastMax = []\nvariable.lastMin = []\nvariable.lastOpens = []\nvariable.lastCloses = []\nvariable.lastEMA5s = []\nvariable.NegOpen = 0 // counter for values below EMA\nvariable.NegClose = 0 // counter for values below EMA\nvariable.NegMin = 0 // counter for values below EMA\nvariable.NegMax = 0 // counter for values below EMA\nvariable.PosOpen = 0 // counter for values above EMA\nvariable.PosClose = 0 // counter for values above EMA\nvariable.PosMin = 0 // counter for values above EMA\nvariable.PosMax = 0 // counter for values above EMA", + "code": "/* Initialization Code*/\n\nvariable.lastMax = []\nvariable.lastMin = []\nvariable.lastOpens = []\nvariable.lastCloses = []\nvariable.lastEMA5s = []\nvariable.NegOpen = 0 // counter for values below EMA\nvariable.NegClose = 0 // counter for values below EMA\nvariable.NegMin = 0 // counter for values below EMA\nvariable.NegMax = 0 // counter for values below EMA\nvariable.PosOpen = 0 // counter for values above EMA\nvariable.PosClose = 0 // counter for values above EMA\nvariable.PosMin = 0 // counter for values above EMA\nvariable.PosMax = 0 // counter for values above EMA\nvariable.lastFastTrend = []", "project": "Foundations", - "id": "4d81bb7d-9ac6-4971-b152-99d7763eeba7", + "id": "8d2a7e9e-621a-42fe-8098-f4a8eb72a809", "savedPayload": { "position": { - "x": 18317.638299279963, - "y": 9690.997883247639 + "x": 18324.64891720132, + "y": 9847.857798451148 }, "targetPosition": { - "x": 18470.86009294206, - "y": 9991.712585161213 + "x": 18550.480496847435, + "y": 10098.66917704977 }, "floatingObject": { "isPinned": false, @@ -3622,15 +3676,15 @@ "uiObject": {} } }, - "id": "780ea42b-d308-4741-bb73-f44bc1b04319", + "id": "df5cb5a3-2746-42d8-b9be-75265ee891db", "savedPayload": { "position": { - "x": 18470.86009294206, - "y": 9991.712585161213 + "x": 18550.480496847435, + "y": 10098.66917704977 }, "targetPosition": { - "x": 18573.00795538346, - "y": 10192.189053103595 + "x": 18701.03488327818, + "y": 10265.876762782184 }, "floatingObject": { "isPinned": false, @@ -3645,20 +3699,20 @@ } } }, - "id": "9197578a-6054-44c2-af32-549ee5bbe6c6", + "id": "cfee482d-0129-452b-a734-cf3ffa5cff8f", "savedPayload": { "position": { - "x": 18573.00795538346, - "y": 10192.189053103595 + "x": 18701.03488327818, + "y": 10265.876762782184 }, "targetPosition": { - "x": 18950.4097109589, - "y": 10437.276618860358 + "x": 19129.010315610998, + "y": 10404.93441025091 }, "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": false, + "isCollapsed": true, "angleToParent": 1, "distanceToParent": 3, "arrangementStyle": 0 @@ -3668,15 +3722,15 @@ } } }, - "id": "7fbb2c55-984d-43fa-a139-5198208aefa6", + "id": "c09e57f0-7a5e-475b-a6f0-31f03f648ed1", "savedPayload": { "position": { - "x": 18950.4097109589, - "y": 10437.276618860358 + "x": 19129.010315610998, + "y": 10404.93441025091 }, "targetPosition": { - "x": 19066.878281255034, - "y": 10002.609997030277 + "x": 19129.010315610998, + "y": 9954.93441025091 }, "floatingObject": { "isPinned": false, @@ -3692,12 +3746,12 @@ "referenceParent": { "type": "Plotter Module", "name": "FastTrend", - "id": "4a8d48bd-4d79-4d93-81d4-8f067794b5a1" + "id": "fc9af99b-c82f-4833-8b47-647fc277e4b4" } } } ], - "id": "d559c6af-abd7-48e5-9120-f30b1b6b4cb0", + "id": "f92477b0-6bfd-4be0-ae55-3a589b96547b", "savedPayload": { "position": { "x": 19129.010315610998, @@ -3740,15 +3794,15 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Market Volume Energy", "project": "Foundations", - "id": "7917cc54-9fa9-4757-ba5c-cdc23c25aee3", + "id": "4f2df871-c67d-4389-84f3-fc32a438ff1d", "savedPayload": { "position": { - "x": 19708.56581138444, - "y": 10099.642983189398 + "x": 19784.859174892692, + "y": 9769.514407952627 }, "targetPosition": { - "x": 19418.78806349772, - "y": 10177.288696720154 + "x": 19546.85317280532, + "y": 9952.142836655243 }, "floatingObject": { "isPinned": false, @@ -3762,21 +3816,21 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Market", - "id": "8e6bd738-fdea-41d6-bc22-32a7264e3548" + "id": "f616117b-026a-4d68-9bae-03b32aa87091" } } } ], "outputDatasetFolders": [], - "id": "6e76b462-48aa-4363-972b-042d520d14c3", + "id": "b4e2b62f-5c46-45d4-8278-8a34d3093b22", "savedPayload": { "position": { - "x": 19418.78806349772, - "y": 10177.288696720154 + "x": 19546.85317280532, + "y": 9952.142836655243 }, "targetPosition": { - "x": 19129.010315610998, - "y": 10254.93441025091 + "x": 19308.84717071795, + "y": 10134.771265357858 }, "floatingObject": { "isPinned": false, @@ -3801,15 +3855,15 @@ "name": "Candles Volumes Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "d5381d53-1a2c-4989-8f70-ee4bf755aabe", + "id": "4f6a7966-b2aa-4baf-b2a5-c3697852444e", "savedPayload": { "position": { - "x": 19913.392620096718, - "y": 10088.208804574617 + "x": 19969.71880045299, + "y": 9680.566778160952 }, "targetPosition": { - "x": 19563.67693744108, - "y": 10371.402980547044 + "x": 19754.997358336164, + "y": 10076.034478858835 }, "floatingObject": { "isPinned": false, @@ -3832,15 +3886,15 @@ "name": "Volume Energy Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "9f831cd0-50bd-4d54-ad92-3764503203b6", + "id": "06a6b752-d91d-4051-833e-1aad63919dc7", "savedPayload": { "position": { - "x": 19788.368582760857, - "y": 10359.627390392381 + "x": 19958.079047314885, + "y": 9979.16948207697 }, "targetPosition": { - "x": 19563.67693744108, - "y": 10371.402980547044 + "x": 19754.997358336164, + "y": 10076.034478858835 }, "floatingObject": { "isPinned": false, @@ -3854,7 +3908,7 @@ "referenceParent": { "type": "Status Report", "name": "Market-Volume-Energy", - "id": "bbfc05c8-9554-466f-8b50-34ac4c90c5b8" + "id": "420ddae7-a83d-45ef-b91e-ea03036ce886" } } } @@ -3864,15 +3918,15 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Market", "project": "Foundations", - "id": "f5bf5d7b-8aa3-41c4-ab6d-ff54de9a4310", + "id": "bf9fcd37-7441-4573-9268-7443c195e3eb", "savedPayload": { "position": { - "x": 19752.3778152288, - "y": 10493.946763425425 + "x": 19976.229712538054, + "y": 10117.03747209457 }, "targetPosition": { - "x": 19563.67693744108, - "y": 10371.402980547044 + "x": 19754.997358336164, + "y": 10076.034478858835 }, "floatingObject": { "isPinned": false, @@ -3894,15 +3948,15 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Market", "project": "Foundations", - "id": "2b34ca8b-b689-4510-b38a-4be9e8fc56b5", + "id": "dd24624b-143c-4f17-97a5-2214f2c78854", "savedPayload": { "position": { - "x": 19644.309726088773, - "y": 10581.458576508914 + "x": 19909.877137867257, + "y": 10239.2437123366 }, "targetPosition": { - "x": 19563.67693744108, - "y": 10371.402980547044 + "x": 19754.997358336164, + "y": 10076.034478858835 }, "floatingObject": { "isPinned": false, @@ -3922,15 +3976,15 @@ } ], "dataMineDataDependencies": [], - "id": "0e4e4d56-5e25-4a42-a3bc-15f054e6ff4f", + "id": "0e9ad0b5-2407-4f22-86c0-17604e8cbb6d", "savedPayload": { "position": { - "x": 19563.67693744108, - "y": 10371.402980547044 + "x": 19754.997358336164, + "y": 10076.034478858835 }, "targetPosition": { - "x": 19129.010315610998, - "y": 10254.93441025091 + "x": 19308.84717071795, + "y": 10134.771265357858 }, "floatingObject": { "isPinned": false, @@ -3949,15 +4003,15 @@ "type": "Status Report", "name": "Market-Volume-Energy", "project": "Foundations", - "id": "bbfc05c8-9554-466f-8b50-34ac4c90c5b8", + "id": "420ddae7-a83d-45ef-b91e-ea03036ce886", "savedPayload": { "position": { - "x": 19341.14234996696, - "y": 10467.066444606873 + "x": 19586.011030471334, + "y": 10249.576295067385 }, "targetPosition": { - "x": 19129.010315610998, - "y": 10254.93441025091 + "x": 19308.84717071795, + "y": 10134.771265357858 }, "floatingObject": { "isPinned": false, @@ -3974,15 +4028,15 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "6c37ceee-3756-476e-9f70-ce942fcd5ee6", + "id": "201cffc5-975f-4bc3-9b67-de2f6fc4fd3e", "savedPayload": { "position": { - "x": 19167.833172376377, - "y": 10399.82328419427 + "x": 19400.161385069256, + "y": 10253.774266401544 }, "targetPosition": { - "x": 19129.010315610998, - "y": 10254.93441025091 + "x": 19308.84717071795, + "y": 10134.771265357858 }, "floatingObject": { "isPinned": false, @@ -4004,15 +4058,15 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "eb57994e-33f2-4cf1-a341-9b79553598d8", + "id": "89e56f37-6a7b-4167-9b92-575812c1c6aa", "savedPayload": { "position": { - "x": 19090.18745884562, - "y": 10399.82328419427 + "x": 19328.426099550958, + "y": 10283.48799456393 }, "targetPosition": { - "x": 19129.010315610998, - "y": 10254.93441025091 + "x": 19308.84717071795, + "y": 10134.771265357858 }, "floatingObject": { "isPinned": false, @@ -4025,15 +4079,15 @@ "uiObject": {} } }, - "id": "4758e662-6bbc-4833-b5a3-62a7448cee5a", + "id": "d8dda832-c130-4ab7-b390-fcf22800e8eb", "savedPayload": { "position": { - "x": 19129.010315610998, - "y": 10254.93441025091 + "x": 19308.84717071795, + "y": 10134.771265357858 }, "targetPosition": { - "x": 18916.878281255034, - "y": 10042.802375894946 + "x": 19031.683310964563, + "y": 10019.966235648331 }, "floatingObject": { "isPinned": false, @@ -4062,7 +4116,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Daily Volume Energy", "project": "Foundations", - "id": "9c6e34c0-15c6-41da-8c03-68bd949bf61b", + "id": "0c29f7d4-8d1c-4781-a298-976f853d8bcc", "savedPayload": { "position": { "x": 19436.4935235257, @@ -4084,13 +4138,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Daily", - "id": "ab6e5dfd-1119-433d-a30c-a43f8c4b1a9a" + "id": "adec1d56-152b-43fc-9643-db4fb1a64a6c" } } } ], "outputDatasetFolders": [], - "id": "e2a2bc8e-83c3-456a-9ade-0bca5d42d861", + "id": "c912a059-05f3-4e11-a6f7-79aec3bb2d7c", "savedPayload": { "position": { "x": 19176.685902390367, @@ -4123,7 +4177,7 @@ "name": "Volume Energy Multi-Time-Frame-Daily", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "4d579e04-a01d-4978-be77-77952772269e", + "id": "5f4a05c7-f27e-4d80-a4c8-0c0e05e59a63", "savedPayload": { "position": { "x": 19326.685902390367, @@ -4145,7 +4199,7 @@ "referenceParent": { "type": "Status Report", "name": "Daily-FasTrend", - "id": "8c9ac4a1-1f98-4e06-8ee9-1d4c20a0f5b7" + "id": "5aab01b9-e993-4e6a-8301-7ac37c61ef51" } } }, @@ -4154,7 +4208,7 @@ "name": "", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "3dc476dc-4287-4e1e-a52f-cc34099e7c78", + "id": "730dda88-6ea1-4499-b5e4-c0f44c66442d", "savedPayload": { "position": { "x": 19279.010315610998, @@ -4185,7 +4239,7 @@ "name": "Exchange Raw Data Historic-OHLCVs", "config": "{\n \"mainUtility\": \"Market Starting Point\"\n}", "project": "Foundations", - "id": "86dcf82c-faac-4f34-b703-70559bd2bff3", + "id": "40c6df6d-a20d-413d-aacd-d58a3b9f996b", "savedPayload": { "position": { "x": 19216.878281255034, @@ -4217,7 +4271,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Daily", "project": "Foundations", - "id": "1bc4f292-e3c7-4537-bd66-689aca201fda", + "id": "99ebde5d-46b4-4fcb-9da7-1f574bea0846", "savedPayload": { "position": { "x": 19144.52399478579, @@ -4247,7 +4301,7 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Daily", "project": "Foundations", - "id": "2f7aa607-d87e-467b-b93e-bad86998853d", + "id": "7bb3a185-f029-460f-9a8e-cd9ebd278336", "savedPayload": { "position": { "x": 19066.878281255034, @@ -4275,7 +4329,7 @@ } ], "dataMineDataDependencies": [], - "id": "2de7e4ae-d0f4-4104-a64d-406b70280286", + "id": "e2552733-47b1-41ca-98c7-5716601990a2", "savedPayload": { "position": { "x": 19066.878281255034, @@ -4302,7 +4356,7 @@ "type": "Status Report", "name": "Daily-FasTrend", "project": "Foundations", - "id": "8c9ac4a1-1f98-4e06-8ee9-1d4c20a0f5b7", + "id": "5aab01b9-e993-4e6a-8301-7ac37c61ef51", "savedPayload": { "position": { "x": 18916.878281255034, @@ -4327,7 +4381,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "8a689c71-5525-4aa5-a6d9-08a5969317bb", + "id": "87738ed1-3275-4160-84b3-0eca1af549c9", "savedPayload": { "position": { "x": 18841.878281255034, @@ -4357,7 +4411,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "9fbd102e-ebf3-4f44-9b41-83618a99c41c", + "id": "a8d3241b-c30f-4bda-8784-3226676bfc5b", "savedPayload": { "position": { "x": 18786.974470687368, @@ -4378,15 +4432,15 @@ "uiObject": {} } }, - "id": "26af8a68-358f-4f31-a2f9-af403bd67876", + "id": "738fc090-69e2-452b-8f16-d9f7bb86da8b", "savedPayload": { "position": { - "x": 18916.878281255034, - "y": 10342.802375894946 + "x": 19146.488340674092, + "y": 10297.130095401717 }, "targetPosition": { - "x": 18916.878281255034, - "y": 10042.802375894946 + "x": 19031.683310964563, + "y": 10019.966235648331 }, "floatingObject": { "isPinned": false, @@ -4414,15 +4468,15 @@ "name": "Multi-Time-Frame-Market", "config": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [\n \"24-hs\",\n \"12-hs\",\n \"08-hs\",\n \"06-hs\",\n \"04-hs\",\n \"03-hs\",\n \"02-hs\",\n \"01-hs\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\"\n}", "project": "Foundations", - "id": "8e6bd738-fdea-41d6-bc22-32a7264e3548", + "id": "f616117b-026a-4d68-9bae-03b32aa87091", "savedPayload": { "position": { - "x": 18999.633165605854, - "y": 10565.296152311686 + "x": 19308.08856658018, + "y": 10471.01861835594 }, "targetPosition": { - "x": 18598.68022972109, - "y": 10361.000427428891 + "x": 18859.475766400272, + "y": 10435.71202527841 }, "floatingObject": { "isPinned": false, @@ -4440,15 +4494,15 @@ "name": "Multi-Time-Frame-Daily", "config": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [\n \"45-min\",\n \"40-min\",\n \"30-min\",\n \"20-min\",\n \"15-min\",\n \"10-min\",\n \"05-min\",\n \"04-min\",\n \"03-min\",\n \"02-min\",\n \"01-min\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n }\n}", "project": "Foundations", - "id": "ab6e5dfd-1119-433d-a30c-a43f8c4b1a9a", + "id": "adec1d56-152b-43fc-9643-db4fb1a64a6c", "savedPayload": { "position": { - "x": 18528.284720452986, - "y": 10805.460180696704 + "x": 18964.526180135428, + "y": 10873.278489457363 }, "targetPosition": { - "x": 18598.68022972109, - "y": 10361.000427428891 + "x": 18859.475766400272, + "y": 10435.71202527841 }, "floatingObject": { "isPinned": false, @@ -4477,7 +4531,7 @@ "name": "New Record Formula", "code": "record.current.begin", "project": "Foundations", - "id": "ab824d02-477e-4c9c-9b61-831d065908a6", + "id": "368b7060-40cc-4b7a-a330-0bc4141e306c", "savedPayload": { "position": { "x": 18610.138000542327, @@ -4498,7 +4552,7 @@ "uiObject": {} } }, - "id": "c3561b4c-8d56-468b-b217-ac702c774798", + "id": "0f9655d4-382e-41e5-90f1-f2866560fe00", "savedPayload": { "position": { "x": 18303.694413218134, @@ -4531,7 +4585,7 @@ "name": "New Record Formula", "code": "record.current.end", "project": "Foundations", - "id": "27e6a2af-4d74-4d8c-9b41-e7f8a91a0b1e", + "id": "c83c9163-b393-43d3-8031-65364c0c533f", "savedPayload": { "position": { "x": 16794.392018239647, @@ -4552,7 +4606,7 @@ "uiObject": {} } }, - "id": "e12f3c62-768c-4c97-8b01-f4b5e73ae8e3", + "id": "f02907a5-974f-483d-b7c6-5ce9f8b2f75f", "savedPayload": { "position": { "x": 17395.821422066794, @@ -4585,7 +4639,7 @@ "name": "New Record Formula", "code": "variable.VolumeEnergy", "project": "Foundations", - "id": "721726f9-c73a-47ab-8e14-92f25295f070", + "id": "1a300398-9b90-457e-826a-8dd36946c262", "savedPayload": { "position": { "x": 17384.363651245556, @@ -4606,7 +4660,7 @@ "uiObject": {} } }, - "id": "bd453dc9-dbfa-4fa2-ad00-3aa0b8aa95d7", + "id": "8bbc0eb3-4e1d-4490-8955-e52e44a925c0", "savedPayload": { "position": { "x": 17690.80723856975, @@ -4630,15 +4684,15 @@ } } ], - "id": "2442dbdb-1443-436f-8a32-17b30371f3c8", + "id": "bdafa907-94c4-4032-afd9-75a27c0946ba", "savedPayload": { "position": { - "x": 17997.25082589394, - "y": 10667.444014753086 + "x": 18421.098333777398, + "y": 10948.98605205843 }, "targetPosition": { - "x": 18598.68022972109, - "y": 10361.000427428891 + "x": 18859.475766400272, + "y": 10435.71202527841 }, "floatingObject": { "isPinned": false, @@ -4666,15 +4720,15 @@ "name": "New Procedure Javascript Code", "code": "/* Loop Code */\n\nlet candle = record.current\nlet volume = getElement('volumes', candle)\nlet Vl = 28 //period for slow moving average\nlet Vs = 14 //period for fast moving average\nlet m = 1 //kinetic weight\nlet k = 8 //potential weight\n\n//Array building\nvariable.VolShort.push(volume.sell + volume.buy)\nvariable.VolLong.push(volume.sell + volume.buy)\n\n// Keep the array the correct size\n\nif (variable.VolShort.length > Vs) {\n variable.VolShort.splice(0, 1)\n}\n\nif (variable.VolLong.length > Vl) {\n variable.VolLong.splice(0, 1)\n}\n\n//calculate volume mobile average\n\nvariable.VolAs = calVolAv(Vs, variable.VolShort) //fast\nvariable.VolAl = calVolAv(Vl, variable.VolLong) //slow\n\n//calculate volume oscillator and put it in an array prior to velocity calculation\nvariable.VOsc = (variable.VolAs - variable.VolAl) / variable.VolAl\nvariable.VOscA.push(variable.VOsc)\nif (variable.VOscA.length > 2) {\n variable.VOscA.splice(0, 1)\n}\n//calculate kinetic energy\n\nvariable.Speed = variable.VOscA[1] - variable.VOscA[0]\nvariable.Kinetic = kinetic()\n\n//calculate potential energy\nvariable.Potential = 1/2 * k * Math.pow(variable.VOsc,2)\n\n//calculate volume differential energy\nvariable.VDE = ((Math.pow(variable.Kinetic,2) - Math.pow(variable.Potential,2))/(Math.pow(variable.Kinetic,2) + Math.pow(variable.Potential,2)))\nif (isNaN(variable.VDE)) {\nvariable.VolumeEnergy = 0\n}\nelse\n{ \nvariable.VolumeEnergy = variable.VDE\n}//functions\n//Volume average\nfunction calVolAv(periods, array) {\n\tvariable.S = 0\n for(var i = 0 ; i < periods ; i++) {\n\t\tvariable.S = variable.S + array[i]\n\t}\n\treturn variable.S/periods\n}\n//kinetic energy\nfunction kinetic() {\n\tif (variable.VOscA.length < 2) { return 0 }\n\tvariable.Kin = 1/2 * m * Math.pow(variable.Speed,2)\n\treturn variable.Kin\n}\n// End of code :-)", "project": "Foundations", - "id": "3eeee04c-2e38-4cde-8871-38dcde246208", + "id": "92676c10-0230-468b-b8c3-60e70bb2176e", "savedPayload": { "position": { - "x": 17079.593935299854, - "y": 10462.107774835762 + "x": 17494.71513760907, + "y": 11110.452191342009 }, "targetPosition": { - "x": 17289.649531261723, - "y": 10381.47498618807 + "x": 17657.924371086836, + "y": 10955.572411810914 }, "floatingObject": { "isPinned": false, @@ -4687,15 +4741,15 @@ "uiObject": {} } }, - "id": "264fcc19-37fc-4ebf-a5cd-7bc3ebd3b62f", + "id": "bdd3d7d0-3c87-4649-b2fa-c05ffe2b3791", "savedPayload": { "position": { - "x": 17289.649531261723, - "y": 10381.47498618807 + "x": 17657.924371086836, + "y": 10955.572411810914 }, "targetPosition": { - "x": 17709.760723185464, - "y": 10220.209408892684 + "x": 17984.342838042365, + "y": 10645.812852748724 }, "floatingObject": { "isPinned": false, @@ -4719,15 +4773,15 @@ "name": "New Procedure Javascript Code", "code": "/* Initialization Code*/\n\nvariable.VolShort = []\nvariable.VolLong = []\nvariable.VolLong = []\nvariable.VOscA = []\n", "project": "Foundations", - "id": "bfa0a3ac-8c54-4a23-92df-562bb3d98c0f", + "id": "02a7fbb3-a796-4c34-b937-053b74542cbb", "savedPayload": { "position": { - "x": 17457.18828571195, - "y": 10015.680281801486 + "x": 17672.726424210203, + "y": 10553.507865719948 }, "targetPosition": { - "x": 17534.902881857644, - "y": 10078.61232090647 + "x": 17768.608397697022, + "y": 10581.909400190341 }, "floatingObject": { "isPinned": false, @@ -4740,15 +4794,15 @@ "uiObject": {} } }, - "id": "6bf23137-ba67-4a73-b264-4c40713b8f2b", + "id": "5742f9c5-83ee-420c-8d67-8b7bc48d4172", "savedPayload": { "position": { - "x": 17534.902881857644, - "y": 10078.61232090647 + "x": 17768.608397697022, + "y": 10581.909400190341 }, "targetPosition": { - "x": 17709.760723185464, - "y": 10220.209408892684 + "x": 17984.342838042365, + "y": 10645.812852748724 }, "floatingObject": { "isPinned": false, @@ -4763,15 +4817,15 @@ } } }, - "id": "b6d694c8-bfb4-4b33-86a2-1e287eb0743a", + "id": "6588a3e9-ba78-46d1-86de-90bf322b93bc", "savedPayload": { "position": { - "x": 17709.760723185464, - "y": 10220.209408892684 + "x": 17984.342838042365, + "y": 10645.812852748724 }, "targetPosition": { - "x": 18598.68022972109, - "y": 10361.000427428891 + "x": 18859.475766400272, + "y": 10435.71202527841 }, "floatingObject": { "isPinned": false, @@ -4786,15 +4840,15 @@ } } }, - "id": "318224a0-7a16-4bd6-bb61-9a34b865fcb8", + "id": "14c889ad-b84b-40f7-94c3-ec0a3abb4a19", "savedPayload": { "position": { - "x": 18598.68022972109, - "y": 10361.000427428891 + "x": 18859.475766400272, + "y": 10435.71202527841 }, "targetPosition": { - "x": 18916.878281255034, - "y": 10042.802375894946 + "x": 19031.683310964563, + "y": 10019.966235648331 }, "floatingObject": { "isPinned": false, @@ -4810,12 +4864,12 @@ "referenceParent": { "type": "Plotter Module", "name": "Volume Energy", - "id": "940b5c40-de8a-4480-8ab5-56c9807752b6" + "id": "0be3471f-ebc4-4e17-8616-dc7f66ea04b3" } } } ], - "id": "4bca4ce0-22d2-43c5-87d5-dfe80b4f25d1", + "id": "9de3478b-6422-4f49-95b4-5f03fb5083d4", "savedPayload": { "position": { "x": 19031.683310964563, @@ -4858,7 +4912,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Market Volume Buy Energy", "project": "Foundations", - "id": "c6709751-6a6a-4d44-8ce6-28c9c5691934", + "id": "0673e74e-82f0-484d-aee3-3b8b2c797b8a", "savedPayload": { "position": { "x": 18351.448073772845, @@ -4880,13 +4934,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Market", - "id": "14cf11b0-0eab-40b8-af76-e1d3c7063d5d" + "id": "d8433673-bc7a-4224-b2e1-07f6274a209b" } } } ], "outputDatasetFolders": [], - "id": "62a7c47a-e935-40de-8927-7e5d4d896cf3", + "id": "82f6d3b3-423b-4398-83df-5083fdbb95b1", "savedPayload": { "position": { "x": 18358.587383036676, @@ -4919,7 +4973,7 @@ "name": "Candles Volumes Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "ba2e397b-1f1d-4f10-ac96-7923b2e3b220", + "id": "8744f178-cedd-4f4f-b111-848a4fe6eb43", "savedPayload": { "position": { "x": 18304.712707284598, @@ -4950,7 +5004,7 @@ "name": "Volume Energy BUY Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "6e144c31-8364-4531-a54d-0302618ab5a9", + "id": "c2fac67e-79da-4949-905d-199d3308dcdf", "savedPayload": { "position": { "x": 18079.51182298934, @@ -4972,7 +5026,7 @@ "referenceParent": { "type": "Status Report", "name": "Market-Volume-Energy", - "id": "6c6feba5-b04a-4b11-b2ec-0e18e2fbaab6" + "id": "e73e5d28-74ba-4611-9785-2b036126cf53" } } } @@ -4982,7 +5036,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Market", "project": "Foundations", - "id": "85da594a-6c46-4c9d-aa82-357885eea0ac", + "id": "3952a953-f964-49a0-8149-e1fa363b6ecd", "savedPayload": { "position": { "x": 17960.773099303322, @@ -5012,7 +5066,7 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Market", "project": "Foundations", - "id": "eb7a4fdf-6ddf-4603-a0c1-3e690859ca6c", + "id": "e96dd561-68e8-482c-b1d6-d2eefa592eb0", "savedPayload": { "position": { "x": 17907.252428607837, @@ -5040,7 +5094,7 @@ } ], "dataMineDataDependencies": [], - "id": "ee628653-5312-4ddf-b3c7-02492a0b3334", + "id": "c5e6ddc8-028a-4a34-9852-86cb0e604d6f", "savedPayload": { "position": { "x": 18131.516178712627, @@ -5067,7 +5121,7 @@ "type": "Status Report", "name": "Market-Volume-Energy", "project": "Foundations", - "id": "6c6feba5-b04a-4b11-b2ec-0e18e2fbaab6", + "id": "e73e5d28-74ba-4611-9785-2b036126cf53", "savedPayload": { "position": { "x": 18102.42299543033, @@ -5092,7 +5146,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "af4e3bc8-c51a-42cb-8a71-15e91b540897", + "id": "778c6414-92c0-4407-be88-67a702776103", "savedPayload": { "position": { "x": 18215.769173096538, @@ -5122,7 +5176,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "daf3ade0-ac7e-4409-a635-0cc43287cd06", + "id": "db025741-a3c6-4e20-b3e1-4a42d834d034", "savedPayload": { "position": { "x": 18237.644498497335, @@ -5143,7 +5197,7 @@ "uiObject": {} } }, - "id": "801ff179-398c-4102-a8a8-cedc11e51b71", + "id": "f7f18b46-a119-4b0c-8cd1-3715b42dfb5a", "savedPayload": { "position": { "x": 18404.74624689907, @@ -5180,7 +5234,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Daily Volume Buy Energy", "project": "Foundations", - "id": "9c2e479b-9203-495f-a267-c2b9c57278ea", + "id": "cd8e3df7-5dea-4d4b-bcd8-b02bd452a764", "savedPayload": { "position": { "x": 17906.942074223298, @@ -5202,13 +5256,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Daily", - "id": "e3765688-559a-44a7-b93e-88ca967ec40c" + "id": "f4cf8d32-1760-4848-a5b6-c5a921cba369" } } } ], "outputDatasetFolders": [], - "id": "f0aa63c8-dfce-40e4-9ef1-d12fe160e301", + "id": "c000582b-74ac-4bc2-96ba-7045a723429c", "savedPayload": { "position": { "x": 18124.062285654818, @@ -5241,7 +5295,7 @@ "name": "Volume Energy BUY Multi-Time-Frame-Daily", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "a3f16c28-6c65-4f17-8b4f-9f42fa16758c", + "id": "aafbb83b-a72e-4bd1-a678-0be633b9ddaa", "savedPayload": { "position": { "x": 31156.833379567517, @@ -5263,7 +5317,7 @@ "referenceParent": { "type": "Status Report", "name": "Daily-FasTrend", - "id": "971699ff-a1d4-4a30-83b3-9e0f7278f095" + "id": "46632b3b-e55d-40e5-bacf-9a1109afb108" } } }, @@ -5272,7 +5326,7 @@ "name": "", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "d8314407-01d8-4220-8fcb-0944870ba697", + "id": "87ec9499-4f3d-4dc7-aebd-1c998d36640b", "savedPayload": { "position": { "x": 31084.479093098274, @@ -5303,7 +5357,7 @@ "name": "Exchange Raw Data Historic-OHLCVs", "config": "{\n \"mainUtility\": \"Market Starting Point\"\n}", "project": "Foundations", - "id": "f139ee31-5281-400e-a255-abaf9a8c5071", + "id": "efa04575-c944-4ec6-91b7-1a2ee58d7364", "savedPayload": { "position": { "x": 31006.833379567517, @@ -5335,7 +5389,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Daily", "project": "Foundations", - "id": "5453978f-e037-46c7-8d16-845fb3a89100", + "id": "881e5318-4bda-4d98-a9f6-4cf941be66e5", "savedPayload": { "position": { "x": 30929.18766603676, @@ -5365,7 +5419,7 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Daily", "project": "Foundations", - "id": "62d7f536-82e2-41a2-85f7-72cefe7eea99", + "id": "3ae90ce5-071b-433a-8c54-dd76e839fdd8", "savedPayload": { "position": { "x": 30856.833379567517, @@ -5393,7 +5447,7 @@ } ], "dataMineDataDependencies": [], - "id": "839ff6a0-4799-4b70-b0c6-e61d052f0373", + "id": "5e8dac35-c71f-47e9-bbf1-7b24a9c198c4", "savedPayload": { "position": { "x": 18049.639026589277, @@ -5420,7 +5474,7 @@ "type": "Status Report", "name": "Daily-FasTrend", "project": "Foundations", - "id": "971699ff-a1d4-4a30-83b3-9e0f7278f095", + "id": "46632b3b-e55d-40e5-bacf-9a1109afb108", "savedPayload": { "position": { "x": 18197.258551044164, @@ -5445,7 +5499,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "df190d6c-ff50-429f-b33d-eba70b183e46", + "id": "b590b262-4a5f-4416-bbaf-747b199e8d53", "savedPayload": { "position": { "x": 18237.67064536402, @@ -5475,7 +5529,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "d1384e4c-9746-4138-b600-db1068c7890e", + "id": "7cb1fea5-d51c-4621-ad8c-0887ff5312b6", "savedPayload": { "position": { "x": 18305.818656759922, @@ -5496,7 +5550,7 @@ "uiObject": {} } }, - "id": "9e519d44-be53-49e6-aacb-7192d93a55a2", + "id": "5261072e-573c-4499-90fb-07a0cda41894", "savedPayload": { "position": { "x": 18316.878281255034, @@ -5532,7 +5586,7 @@ "name": "Multi-Time-Frame-Market", "config": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [\n \"24-hs\",\n \"12-hs\",\n \"08-hs\",\n \"06-hs\",\n \"04-hs\",\n \"03-hs\",\n \"02-hs\",\n \"01-hs\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\"\n}", "project": "Foundations", - "id": "14cf11b0-0eab-40b8-af76-e1d3c7063d5d", + "id": "d8433673-bc7a-4224-b2e1-07f6274a209b", "savedPayload": { "position": { "x": 18094.384504838294, @@ -5558,7 +5612,7 @@ "name": "Multi-Time-Frame-Daily", "config": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [\n \"45-min\",\n \"40-min\",\n \"30-min\",\n \"20-min\",\n \"15-min\",\n \"10-min\",\n \"05-min\",\n \"04-min\",\n \"03-min\",\n \"02-min\",\n \"01-min\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n }\n}", "project": "Foundations", - "id": "e3765688-559a-44a7-b93e-88ca967ec40c", + "id": "f4cf8d32-1760-4848-a5b6-c5a921cba369", "savedPayload": { "position": { "x": 17854.220476453276, @@ -5595,7 +5649,7 @@ "name": "New Record Formula", "code": "record.current.begin", "project": "Foundations", - "id": "4dc1d0eb-914b-4abd-9911-a58a4e419693", + "id": "6924650f-f050-4590-8f8d-e18eb5149196", "savedPayload": { "position": { "x": 17256.97394512661, @@ -5616,7 +5670,7 @@ "uiObject": {} } }, - "id": "d34ea891-1b24-4b92-9744-4bd7d1ce3101", + "id": "b0cd8aae-dda6-4430-8959-705be9a72dae", "savedPayload": { "position": { "x": 17624.605293761753, @@ -5649,7 +5703,7 @@ "name": "New Record Formula", "code": "record.current.end", "project": "Foundations", - "id": "c31e5454-776b-412b-9cdf-976f4fc709bb", + "id": "7b2b2df5-0520-4f4a-8f9b-a48e94777f78", "savedPayload": { "position": { "x": 16644.08677047822, @@ -5670,7 +5724,7 @@ "uiObject": {} } }, - "id": "9d3c3703-3ade-4a31-a263-cbb1c1d0751e", + "id": "cfae2ad5-f527-4aef-8332-c9a9129c1212", "savedPayload": { "position": { "x": 17318.16170643756, @@ -5703,7 +5757,7 @@ "name": "New Record Formula", "code": "variable.VolumeEnergyB", "project": "Foundations", - "id": "5eb5b262-ab36-4c1c-80fd-f15964297658", + "id": "a5d579a8-1caa-4801-94a0-db1ffbbde30b", "savedPayload": { "position": { "x": 17379.34946774851, @@ -5724,7 +5778,7 @@ "uiObject": {} } }, - "id": "4964a136-f561-4c83-994c-2ebdb7085193", + "id": "8197fd1c-583c-42a5-9f6d-83c40ec87a3a", "savedPayload": { "position": { "x": 17685.793055072703, @@ -5757,7 +5811,7 @@ "name": "New Record Formula", "code": "variable.TmpB", "project": "Foundations", - "id": "02507c16-f284-49b8-8bfb-64ddf9c401dc", + "id": "4fdb4960-4ecc-4758-b89a-b754f7922353", "savedPayload": { "position": { "x": 19325.61590220033, @@ -5778,7 +5832,7 @@ "uiObject": {} } }, - "id": "c526eb90-70bc-4a16-b1e4-7c80f31dbdae", + "id": "b50ebbc6-d0a0-481f-922e-29b9edb0a60c", "savedPayload": { "position": { "x": 18359.86799103204, @@ -5811,7 +5865,7 @@ "name": "New Record Formula", "code": "variable.RelativeAgitation", "project": "Foundations", - "id": "47b246c7-7b4a-4d36-bad0-ed260138f465", + "id": "721bab40-9db1-44c1-8d1a-31a85fe39f29", "savedPayload": { "position": { "x": 19340.38651431557, @@ -5832,7 +5886,7 @@ "uiObject": {} } }, - "id": "534233b3-5e73-41e0-ba61-f296b927e847", + "id": "032e7ec6-6fd9-43b8-afb7-d3120a054a19", "savedPayload": { "position": { "x": 18666.31157835623, @@ -5856,7 +5910,7 @@ } } ], - "id": "50be5c1c-ffe5-4689-89e0-3ecd770229f7", + "id": "bb4bbb7a-60de-4025-b8aa-52b0fdc79f82", "savedPayload": { "position": { "x": 17992.236642396896, @@ -5892,7 +5946,7 @@ "name": "New Procedure Javascript Code", "code": "/* Loop Code */\n\nlet candle = record.current\nlet volume = getElement('volumes', candle)\nlet Vl = 28 //period for slow moving average\nlet Vs = 14 //period for fast moving average\nlet m = 1 //kinetic weight\nlet k = 8 //potential weight\n\n//evaluation of sell and buy volume as per indicated in the master data mine\nlet totalVolume = volume.buy + volume.sell\nlet distanceOpenMax = candle.max - candle.open\nlet distanceOpenMin = candle.open - candle.min\nlet distanceMaxMin = candle.max - candle.min\n\nvariable.buyVolume = totalVolume * distanceOpenMax * 100 / distanceMaxMin\nvariable.sellVolume = totalVolume * distanceOpenMin * 100 / distanceMaxMin\n\n\n//Array building\nvariable.VolShort.push(volume.sell + volume.buy)\nvariable.VolLong.push(volume.sell + volume.buy)\nvariable.VolShortB.push(variable.buyVolume)\nvariable.VolLongB.push(variable.buyVolume)\nvariable.VolShortS.push(variable.sellVolume)\nvariable.VolLongS.push(variable.sellVolume)\n\n// Keep the array the correct size\n\nif (variable.VolShort.length > Vs) {\n variable.VolShort.splice(0, 1)\n}\n\nif (variable.VolLong.length > Vl) {\n variable.VolLong.splice(0, 1)\n}\n\nif (variable.VolShortB.length > Vs) {\n variable.VolShortB.splice(0, 1)\n}\n\nif (variable.VolLongB.length > Vl) {\n variable.VolLongB.splice(0, 1)\n}\n\nif (variable.VolShortS.length > Vs) {\n variable.VolShortS.splice(0, 1)\n}\n\nif (variable.VolLongS.length > Vl) {\n variable.VolLongS.splice(0, 1)\n}\n\n//calculate volume mobile average\n\nvariable.VolAsB = calVolAv(Vs, variable.VolShortB) //fast volume mobile average BUY\nvariable.VolAlB = calVolAv(Vl, variable.VolLongB) //slow\nvariable.VolAsS = calVolAv(Vs, variable.VolShortS) //fast volume mobile average SELL\nvariable.VolAlS = calVolAv(Vl, variable.VolLongS) //slow\n\n//calculate volume oscillator and put it in an array prior to velocity calculation\nvariable.VOscAB = (variable.VolAsB - variable.VolAlB) / variable.VolAlB\nvariable.VOscB.push(variable.VOscAB)\nif (variable.VOscB.length > 2) {\n variable.VOscB.splice(0, 1)\n}\n\nvariable.VOscAS = (variable.VolAsS - variable.VolAlS) / variable.VolAlS\nvariable.VOscS.push(variable.VOscAS)\nif (variable.VOscS.length > 2) {\n variable.VOscS.splice(0, 1)\n}\n\n//calculate kinetic energy\n\nvariable.SpeedS = variable.VOscS[1] - variable.VOscS[0]\nvariable.KineticS = kinetic(variable.VOscS,variable.SpeedS)\n\nvariable.SpeedB = variable.VOscB[1] - variable.VOscB[0]\nvariable.KineticB = kinetic(variable.VOscB,variable.SpeedB)\n\n//calculate potential energy\nvariable.PotentialB = 1/2 * k * Math.pow(variable.VOscAB,2)\nvariable.PotentialS = 1/2 * k * Math.pow(variable.VOscAS,2)\n\n//calculate volume differential energy\nvariable.VDEB = ((Math.pow(variable.KineticB,2) - Math.pow(variable.PotentialB,2))/(Math.pow(variable.KineticB,2) + Math.pow(variable.PotentialB,2)))\nif (isNaN(variable.VDEB)) {\nvariable.VolumeEnergyB = 0\n}\nelse\n{ \nvariable.VolumeEnergyB = variable.VDEB\n}\n//calculate Boltzman Temperature\nvariable.TEB = variable.PotentialB + variable.KineticB // total energy BUY\nvariable.TES = variable.PotentialS + variable.KineticS // total energy SELL\n\nvariable.BoltzmanTemperatureB = (variable.TEB - variable.TES) / (Math.log(variable.sellVolume / variable.buyVolume))\n\nif (typeof variable.TEB === \"undefined\" || typeof variable.TES === \"undefined\") {\nvariable.BTmp = 0\n}\nelse \n{\t\nvariable.BTmp = variable.BoltzmanTemperatureB \n}\n\nif (isNaN(variable.BTmp)) {\nvariable.TmpB = 0\n}\nelse \n{\n\tif (isFinite(variable.BTmp) === false) {\n\t\tvariable.TmpB = 25\n\t}\n\telse\n\t{\nvariable.TmpB = variable.BoltzmanTemperatureB\n}\n}\n\nvariable.BoltzmanTemperatureS = (variable.TES - variable.TEB) / (Math.log(variable.buyVolume / variable.sellVolume))\n\nif (typeof variable.TEB === \"undefined\" || typeof variable.TES === \"undefined\") {\nvariable.STmp = 0\n}\nelse \n{\t\nvariable.STmp = variable.BoltzmanTemperatureS \n}\n\nif (isNaN(variable.STmp)) {\nvariable.TmpS = 0\n}\nelse \n{\n\tif (isFinite(variable.STmp) === false) {\n\t\tvariable.TmpS = 25\n\t}\n\telse\n\t{\nvariable.TmpS = variable.BoltzmanTemperatureS\n}\n}\n\n//variable.RelativeAgitation = (Math.pow(10,18) * Math.sqrt(1/2 * (Math.pow(variable.TmpS-(variable.TmpS + variable.TmpB)/2,2) + Math.pow(variable.TmpB-(variable.TmpS + variable.TmpB)/2,2))))\nif(variable.TmpS > variable.TmpB) {\n\tvariable.RelativeAgitation = -1\n}\n\nif(variable.TmpS < variable.TmpB) {\n\tvariable.RelativeAgitation = 1\n}\n\nif(variable.TmpS === variable.TmpB) {\n\tvariable.RelativeAgitation = 0\n}\n//functions\n//Volume average\nfunction calVolAv(periods, array) {\n\tvariable.S = 0\n for(var i = 0 ; i < periods ; i++) {\n\t\tvariable.S = variable.S + array[i]\n\t}\n\treturn variable.S/periods\n}\n//kinetic energy\nfunction kinetic(VOSC,SPEED) {\n\tif (VOSC.length < 2) { return 0 }\n\tvariable.Kin = 1/2 * m * Math.pow(SPEED,2)\n\treturn variable.Kin\n}\n// End of code :-)", "project": "Foundations", - "id": "76bce50d-df9c-447a-a0d7-31b79e833867", + "id": "f99c455f-37be-4d77-bfc0-69169f7ef7c3", "savedPayload": { "position": { "x": 18257.724795076763, @@ -5913,7 +5967,7 @@ "uiObject": {} } }, - "id": "22521568-771b-4eac-868f-9e394584163c", + "id": "208b43ba-6261-4c0e-9b5c-3f0e7c6ff7ef", "savedPayload": { "position": { "x": 18293.561590031295, @@ -5945,7 +5999,7 @@ "name": "New Procedure Javascript Code", "code": "/* Initialization Code*/\n\nvariable.VolShort = []\nvariable.VolLong = []\nvariable.VOscA = []\nvariable.VolShortB = []\nvariable.VolLongB = []\nvariable.VolShortS = []\nvariable.VolLongS = []\nvariable.VOscB = []\nvariable.VOscS = []", "project": "Foundations", - "id": "37ade28b-c330-43a1-a185-6a1fb94aa036", + "id": "e3b45add-82f5-4c06-a9b1-09de00e76154", "savedPayload": { "position": { "x": 18459.74206256511, @@ -5966,7 +6020,7 @@ "uiObject": {} } }, - "id": "9d182a75-883e-46ce-b735-900dbac17a96", + "id": "ac18bb33-95ea-4775-b237-e785cb315dca", "savedPayload": { "position": { "x": 18396.810023460126, @@ -5989,7 +6043,7 @@ } } }, - "id": "9d67f047-efb2-401f-a09f-a18331d66827", + "id": "f346c9b1-9443-42b0-958e-d97d5d137b89", "savedPayload": { "position": { "x": 18333.877984355142, @@ -6012,7 +6066,7 @@ } } }, - "id": "52f6c6df-a0f3-4bd2-a8b1-7cb706ad4e37", + "id": "1a78d0d3-e90d-448f-9614-a8a235e04cbe", "savedPayload": { "position": { "x": 18298.68022972109, @@ -6036,12 +6090,12 @@ "referenceParent": { "type": "Plotter Module", "name": "Volume Energy BUY", - "id": "efa29cea-36c7-4f4d-8b9c-c673d04c1cc0" + "id": "b0dccb18-4ef0-4848-9984-5f6b708e21c7" } } } ], - "id": "2cb54e8f-22ee-4bf9-aca4-d0b34083e70e", + "id": "b7bf2832-92e2-4f3a-ba3c-b8120a07cf96", "savedPayload": { "position": { "x": 18916.878281255034, @@ -6084,7 +6138,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Market On-Balance-Volume", "project": "Foundations", - "id": "46b1637a-82f3-4de7-bf5f-e80f123edf5a", + "id": "24f2a4c0-d586-4dd1-b83e-f37fc6260e9d", "savedPayload": { "position": { "x": 18560.037673960585, @@ -6106,13 +6160,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Market", - "id": "d00c5020-4e4b-4256-b30f-6e49d919f350" + "id": "a2b4dc2e-6325-416a-9c42-280fd62eb1db" } } } ], "outputDatasetFolders": [], - "id": "ca17cf89-0d3a-42a4-86ea-8cb4841174a2", + "id": "6a3d2658-c8e0-4a61-9004-8176f7614f5c", "savedPayload": { "position": { "x": 18482.391960429828, @@ -6145,7 +6199,7 @@ "name": "Candles Volumes Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "99a8233b-6bb9-41b9-8401-27a5f8f21178", + "id": "a344fd44-35d2-420c-a7ad-3639992f73f6", "savedPayload": { "position": { "x": 18571.471852575363, @@ -6176,7 +6230,7 @@ "name": "On-Balance-Volume Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "3718fb9f-905f-45b6-b2fc-ebfa20dc23ed", + "id": "44874e99-a91e-4d69-a6d4-3f1c101cb7eb", "savedPayload": { "position": { "x": 18300.053266757597, @@ -6198,7 +6252,7 @@ "referenceParent": { "type": "Status Report", "name": "Market-Volume-Energy", - "id": "37bf0718-3df3-4bd9-8ddd-c27822c40f96" + "id": "7a9a67eb-edce-4321-b223-3319e8a4b64f" } } } @@ -6208,7 +6262,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Market", "project": "Foundations", - "id": "2b2df765-3205-4ada-9113-01c0c3c92368", + "id": "8f39aee0-81ea-4ecb-baf9-6846c9612e3e", "savedPayload": { "position": { "x": 18165.733893724555, @@ -6238,7 +6292,7 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Market", "project": "Foundations", - "id": "81439ac8-26ff-4323-bb6a-f06db79cae82", + "id": "e2f33d6d-b489-4450-9888-61464278db7d", "savedPayload": { "position": { "x": 18078.222080641066, @@ -6266,7 +6320,7 @@ } ], "dataMineDataDependencies": [], - "id": "6963619e-b4a1-40a9-9ece-52599f56c1fc", + "id": "c1042eec-f445-4655-ac53-a31b33db3c77", "savedPayload": { "position": { "x": 18288.277676602935, @@ -6293,7 +6347,7 @@ "type": "Status Report", "name": "Market-Volume-Energy", "project": "Foundations", - "id": "37bf0718-3df3-4bd9-8ddd-c27822c40f96", + "id": "7a9a67eb-edce-4321-b223-3319e8a4b64f", "savedPayload": { "position": { "x": 18192.614212543107, @@ -6318,7 +6372,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "94f2f72a-784d-4e21-906a-4375de0b2f3b", + "id": "f2e6ffc0-677b-42b1-8084-a6c0bf7c0bb9", "savedPayload": { "position": { "x": 18259.85737295571, @@ -6348,7 +6402,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "6b139351-9c70-497f-9100-1907ea11c701", + "id": "4f69a50d-e06c-4593-ad14-188bbd6b39c2", "savedPayload": { "position": { "x": 18259.85737295571, @@ -6369,15 +6423,15 @@ "uiObject": {} } }, - "id": "8552fa22-8240-403d-831f-da9a3b12bbeb", + "id": "0c56cc97-3b8e-4e5a-b9a9-675bd3f945ce", "savedPayload": { "position": { - "x": 18763.42068352841, - "y": 10275.465483603328 + "x": 18916.878281255038, + "y": 10297.130095401717 }, "targetPosition": { - "x": 18729.831340697416, - "y": 9977.351820635355 + "x": 18802.07325154551, + "y": 10019.966235648331 }, "floatingObject": { "isPinned": false, @@ -6406,7 +6460,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Daily On-Balance-Volume", "project": "Foundations", - "id": "dd14844a-c35f-4b25-8f01-fe1ff5eeb89c", + "id": "f52faf88-2a87-4a14-b9c0-031b2c9d06ba", "savedPayload": { "position": { "x": 18016.878281255034, @@ -6428,13 +6482,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Daily", - "id": "76a15598-8a3b-4cb5-9616-5ad1c021c36b" + "id": "4d3b1e40-d0e5-4507-bff6-94df53049d64" } } } ], "outputDatasetFolders": [], - "id": "9a436b77-aae3-4827-9bbd-0c791b9a4686", + "id": "0d5b7f4c-ae95-4052-9cc0-18a1dcf81b75", "savedPayload": { "position": { "x": 18166.878281255034, @@ -6467,7 +6521,7 @@ "name": "On-Balance-Volume Multi-Time-Frame-Daily", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "9c604665-a04e-4765-aa8b-e6a20e08b2f2", + "id": "6e034130-9c43-4616-932a-c6b324b2e656", "savedPayload": { "position": { "x": 17907.0706601197, @@ -6489,7 +6543,7 @@ "referenceParent": { "type": "Status Report", "name": "Daily-FasTrend", - "id": "efb194ee-1f27-475b-9202-458b341e6eae" + "id": "34aaad65-b4a0-43f5-a798-e9044859cd13" } } }, @@ -6498,7 +6552,7 @@ "name": "", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "9af4dc7e-f72e-48cb-b2a5-2857ffcb580e", + "id": "975e32ac-e106-43a5-aacb-c15417f664e8", "savedPayload": { "position": { "x": 17844.938625763738, @@ -6529,7 +6583,7 @@ "name": "Exchange Raw Data Historic-OHLCVs", "config": "{\n \"mainUtility\": \"Market Starting Point\"\n}", "project": "Foundations", - "id": "5dc07001-a616-40ab-ac16-6e1ba458c107", + "id": "9e945e43-6d38-4a6c-85c7-8b9dbe0c093f", "savedPayload": { "position": { "x": 17797.26303898437, @@ -6561,7 +6615,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Daily", "project": "Foundations", - "id": "6ef1106d-aa7c-482f-a04b-87fad976aae6", + "id": "e7abb9bd-1c7a-4f17-9dff-38a1011601de", "savedPayload": { "position": { "x": 17767.29291223298, @@ -6591,7 +6645,7 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Daily", "project": "Foundations", - "id": "a437c908-e0e1-4f4e-9f6d-e346d0003212", + "id": "0d54a959-5543-4d41-aacd-2e850320287b", "savedPayload": { "position": { "x": 17757.0706601197, @@ -6619,7 +6673,7 @@ } ], "dataMineDataDependencies": [], - "id": "5a2ba4bd-e4c7-4bac-9345-68af6549e3a2", + "id": "673824f2-c9f0-4eb1-81ef-1d06bde33569", "savedPayload": { "position": { "x": 18057.0706601197, @@ -6646,7 +6700,7 @@ "type": "Status Report", "name": "Daily-FasTrend", "project": "Foundations", - "id": "efb194ee-1f27-475b-9202-458b341e6eae", + "id": "34aaad65-b4a0-43f5-a798-e9044859cd13", "savedPayload": { "position": { "x": 18166.878281255034, @@ -6671,7 +6725,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "10538816-f55c-4115-ab1b-4f23b2a71690", + "id": "52544e20-48f4-4cf3-8f55-a68c6b59e00b", "savedPayload": { "position": { "x": 18186.974470687368, @@ -6701,7 +6755,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "56ba2149-3e0c-4281-bc7d-22774f7b0a83", + "id": "96387e38-e3b9-44b1-bec2-14584f509b6d", "savedPayload": { "position": { "x": 18241.878281255034, @@ -6722,15 +6776,15 @@ "uiObject": {} } }, - "id": "4183ddc7-54de-46b1-b540-0e1feacfa572", + "id": "06780019-9162-45d5-ab45-97b4e516fcdc", "savedPayload": { "position": { - "x": 18542.784400139797, - "y": 10211.901265375764 + "x": 18687.268221835984, + "y": 10297.130095401717 }, "targetPosition": { - "x": 18729.831340697416, - "y": 9977.351820635355 + "x": 18802.07325154551, + "y": 10019.966235648331 }, "floatingObject": { "isPinned": false, @@ -6758,15 +6812,15 @@ "name": "Multi-Time-Frame-Market", "config": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [\n \"24-hs\",\n \"12-hs\",\n \"08-hs\",\n \"06-hs\",\n \"04-hs\",\n \"03-hs\",\n \"02-hs\",\n \"01-hs\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\"\n}", "project": "Foundations", - "id": "d00c5020-4e4b-4256-b30f-6e49d919f350", + "id": "a2b4dc2e-6325-416a-9c42-280fd62eb1db", "savedPayload": { "position": { - "x": 18468.76217348039, - "y": 10437.45073087831 + "x": 18678.57908366401, + "y": 10534.356464732637 }, "targetPosition": { - "x": 18282.660846245457, - "y": 10027.735834881843 + "x": 18386.32746191543, + "y": 10192.173780212623 }, "floatingObject": { "isPinned": false, @@ -6784,15 +6838,15 @@ "name": "Multi-Time-Frame-Daily", "config": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [\n \"45-min\",\n \"40-min\",\n \"30-min\",\n \"20-min\",\n \"15-min\",\n \"10-min\",\n \"05-min\",\n \"04-min\",\n \"03-min\",\n \"02-min\",\n \"01-min\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n }\n}", "project": "Foundations", - "id": "76a15598-8a3b-4cb5-9616-5ad1c021c36b", + "id": "4d3b1e40-d0e5-4507-bff6-94df53049d64", "savedPayload": { "position": { - "x": 17950.507297376153, - "y": 10331.337580551277 + "x": 18151.20310779325, + "y": 10575.861854171964 }, "targetPosition": { - "x": 18282.660846245457, - "y": 10027.735834881843 + "x": 18386.32746191543, + "y": 10192.173780212623 }, "floatingObject": { "isPinned": false, @@ -6821,15 +6875,15 @@ "name": "New Record Formula", "code": "record.current.begin", "project": "Foundations", - "id": "8e311423-8aec-41ca-9b0d-e88f0e66a91a", + "id": "524cbc89-2353-4b1e-8f0c-a000e5662841", "savedPayload": { "position": { - "x": 17772.531995049238, - "y": 11233.84946258401 + "x": 18230.03089533844, + "y": 11492.371038719155 }, "targetPosition": { - "x": 17696.955973679505, - "y": 10563.093720906072 + "x": 17971.719578492004, + "y": 10868.752354274036 }, "floatingObject": { "isPinned": false, @@ -6842,15 +6896,15 @@ "uiObject": {} } }, - "id": "4e330905-f2fe-4eaa-87a9-c828babf0f4d", + "id": "e2fe2546-3c4e-4625-a157-f3a335d5d6eb", "savedPayload": { "position": { - "x": 17696.955973679505, - "y": 10563.093720906072 + "x": 17971.719578492004, + "y": 10868.752354274036 }, "targetPosition": { - "x": 17621.379952309773, - "y": 9892.337979228134 + "x": 17713.408261645567, + "y": 10245.133669828918 }, "floatingObject": { "isPinned": false, @@ -6875,15 +6929,15 @@ "name": "New Record Formula", "code": "record.current.end", "project": "Foundations", - "id": "b04a73a7-d5cf-4cd0-8a64-30075f115fff", + "id": "e548f48e-cde1-4aef-8deb-5038dd96eea4", "savedPayload": { "position": { - "x": 16392.235264320374, - "y": 10450.641960932939 + "x": 16686.860208085523, + "y": 11121.888535074666 }, "targetPosition": { - "x": 17006.807608315074, - "y": 10171.489970080536 + "x": 17200.134234865545, + "y": 10683.511102451792 }, "floatingObject": { "isPinned": false, @@ -6896,15 +6950,15 @@ "uiObject": {} } }, - "id": "9a82019a-09ac-4c0d-a097-7dc4fc5f4ba9", + "id": "81b47a72-2f63-4749-9589-c63c578e3d89", "savedPayload": { "position": { - "x": 17006.807608315074, - "y": 10171.489970080536 + "x": 17200.134234865545, + "y": 10683.511102451792 }, "targetPosition": { - "x": 17621.379952309773, - "y": 9892.337979228134 + "x": 17713.408261645567, + "y": 10245.133669828918 }, "floatingObject": { "isPinned": false, @@ -6929,15 +6983,15 @@ "name": "New Record Formula", "code": "variable.OBV", "project": "Foundations", - "id": "5eb4947d-2162-431e-b21f-dd153d342b44", + "id": "c07d9bfc-1446-4938-b37c-7184ca3e8353", "savedPayload": { "position": { - "x": 16710.57471530147, - "y": 8895.877332620224 + "x": 16562.34403976754, + "y": 9539.760607462385 }, "targetPosition": { - "x": 17165.977333805622, - "y": 9394.10765592418 + "x": 17137.876150706554, + "y": 9892.447138645652 }, "floatingObject": { "isPinned": false, @@ -6950,15 +7004,15 @@ "uiObject": {} } }, - "id": "3fcfe9f3-82ce-498b-8a8e-b2f67e16064f", + "id": "c27ee4cf-7f57-4d31-b1af-cdc13674d5e4", "savedPayload": { "position": { - "x": 17165.977333805622, - "y": 9394.10765592418 + "x": 17137.876150706554, + "y": 9892.447138645652 }, "targetPosition": { - "x": 17621.379952309773, - "y": 9892.337979228134 + "x": 17713.408261645567, + "y": 10245.133669828918 }, "floatingObject": { "isPinned": false, @@ -6983,15 +7037,15 @@ "name": "New Record Formula", "code": "variable.VEma20", "project": "Foundations", - "id": "d0320435-1abb-4a93-976c-735397276957", + "id": "5f8d8e3d-5ce6-4bca-adc0-52ffc4f1b8ac", "savedPayload": { "position": { - "x": 18287.616046696643, - "y": 8718.187449467943 + "x": 18028.55950285104, + "y": 8932.434277292055 }, "targetPosition": { - "x": 17954.497999503208, - "y": 9305.262714348039 + "x": 17870.983882248303, + "y": 9588.783973560487 }, "floatingObject": { "isPinned": false, @@ -7004,15 +7058,15 @@ "uiObject": {} } }, - "id": "99402c84-1c33-4834-b5fe-52b23939eeb9", + "id": "05078ee4-4bb2-4cae-a69d-685e2ba280af", "savedPayload": { "position": { - "x": 17954.497999503208, - "y": 9305.262714348039 + "x": 17870.983882248303, + "y": 9588.783973560487 }, "targetPosition": { - "x": 17621.379952309773, - "y": 9892.337979228134 + "x": 17713.408261645567, + "y": 10245.133669828918 }, "floatingObject": { "isPinned": false, @@ -7028,15 +7082,15 @@ } } ], - "id": "dcd64450-d028-4227-9e64-4ed5a35e0461", + "id": "334eb58d-d641-4d2d-8393-f01326135a8e", "savedPayload": { "position": { - "x": 17621.379952309773, - "y": 9892.337979228134 + "x": 17713.408261645567, + "y": 10245.133669828918 }, "targetPosition": { - "x": 18282.660846245457, - "y": 10027.735834881843 + "x": 18386.32746191543, + "y": 10192.173780212623 }, "floatingObject": { "isPinned": false, @@ -7064,15 +7118,15 @@ "name": "New Procedure Javascript Code", "code": "/* Loop Code */\n\nlet candle = record.current\nlet volume = getElement('volumes', candle)\nlet K = 2\n\nvariable.CDL = candle.close\n\nif (variable.previousVEma20 === undefined) {\nvariable.previousVEma20 = volume.buy + volume.sell\n}\n\n//build candle close array\nvariable.cdClose.push(candle.close)\n\n//keep the array to the right size\nif (variable.cdClose.length > K) {\n variable.cdClose.splice(0, 1)\n}\n\n//manage Previous On balance value\n\nif (variable.previousOnBV === undefined) {\n\tvariable.previousOnBV = 0\n}\n\n//procedure for OBV calculation\nif (variable.cdClose[1] > variable.cdClose[0]) {\n\tvariable.OnBV = variable.previousOnBV + volume.buy + volume.sell\n\t}\n\nif (variable.cdClose[1] === variable.cdClose[0]) {\n\tvariable.OnBV = variable.previousOnBV\n\t}\nif (variable.cdClose[1] < variable.cdClose[0]) {\n\tvariable.OnBV = variable.previousOnBV - (volume.buy + volume.sell)\n\t}\n\n//manage NaN and undefined\nif (variable.OnBV === undefined || isNaN(variable.OnBV)) {\n\tvariable.OBV = 0\n\tvariable.previousOnBV = 0\n}\nelse {\n\tvariable.OBV = variable.OnBV\n\tvariable.previousOnBV = variable.OnBV\n}\n\n// Calculate On balance Volume EMA20\nvariable.VEma20 = calculateVEMA(20, variable.OBV, variable.previousVEma20)\nvariable.previousVEma20 = variable.VEma20\n\n\n//On Balance Volume EMA20 calculation\nfunction calculateVEMA(periods, price, previousVEMA) {\n let k = 2 / (periods + 1)\n return price * k + previousVEMA * (1-k)\n}\n\n// End of code :-)", "project": "Foundations", - "id": "ea12ae15-8320-42e4-b46a-aaeb1e69da20", + "id": "0ec88761-d1eb-4ebe-ad18-fb324a8c36f3", "savedPayload": { "position": { - "x": 17031.951956680066, - "y": 9159.649929478353 + "x": 16944.182619638243, + "y": 9704.255631860455 }, "targetPosition": { - "x": 17246.453756088908, - "y": 9227.57619869998 + "x": 17169.105517757744, + "y": 9710.145445229726 }, "floatingObject": { "isPinned": false, @@ -7085,15 +7139,15 @@ "uiObject": {} } }, - "id": "fc308fe7-7d90-4137-8d4c-5234e1282bc5", + "id": "2e63b2f0-f496-471f-b986-7bc30767a9de", "savedPayload": { "position": { - "x": 17246.453756088908, - "y": 9227.57619869998 + "x": 17169.105517757744, + "y": 9710.145445229726 }, "targetPosition": { - "x": 17675.45735490659, - "y": 9363.428737143237 + "x": 17618.951313996746, + "y": 9721.92507196827 }, "floatingObject": { "isPinned": false, @@ -7117,15 +7171,15 @@ "name": "New Procedure Javascript Code", "code": "/* Initialization Code*/\n\nvariable.cdClose = []", "project": "Foundations", - "id": "149eb343-cb7c-48e9-b649-57fd30ec26b4", + "id": "bc1afed8-9cb1-49eb-bf1f-01bed44be8e3", "savedPayload": { "position": { - "x": 17605.51009661054, - "y": 9046.045087506294 + "x": 17463.87471691237, + "y": 9436.30951035313 }, "targetPosition": { - "x": 17627.0323299324, - "y": 9143.701595086892 + "x": 17511.590592938333, + "y": 9524.191221619327 }, "floatingObject": { "isPinned": false, @@ -7138,15 +7192,15 @@ "uiObject": {} } }, - "id": "f4064835-b9fc-42ed-b8a3-5c0ff7777879", + "id": "8c34d093-0e56-4e5c-a3d6-530077582a13", "savedPayload": { "position": { - "x": 17627.0323299324, - "y": 9143.701595086892 + "x": 17511.590592938333, + "y": 9524.191221619327 }, "targetPosition": { - "x": 17675.45735490659, - "y": 9363.428737143237 + "x": 17618.951313996746, + "y": 9721.92507196827 }, "floatingObject": { "isPinned": false, @@ -7161,15 +7215,15 @@ } } }, - "id": "2c30c2e8-02ec-46d8-8abd-b89951dfb144", + "id": "4d53d6aa-b791-4d58-8e17-504fae669b06", "savedPayload": { "position": { - "x": 17675.45735490659, - "y": 9363.428737143237 + "x": 17618.951313996746, + "y": 9721.92507196827 }, "targetPosition": { - "x": 18282.660846245457, - "y": 10027.735834881843 + "x": 18386.32746191543, + "y": 10192.173780212623 }, "floatingObject": { "isPinned": false, @@ -7184,15 +7238,15 @@ } } }, - "id": "10ce98af-a030-4a9b-8d62-a3100369126e", + "id": "3d07bd36-71ee-4ea0-8400-accb98820c5c", "savedPayload": { "position": { - "x": 18282.660846245457, - "y": 10027.735834881843 + "x": 18386.32746191543, + "y": 10192.173780212623 }, "targetPosition": { - "x": 18729.831340697416, - "y": 9977.351820635355 + "x": 18802.07325154551, + "y": 10019.966235648331 }, "floatingObject": { "isPinned": false, @@ -7208,12 +7262,12 @@ "referenceParent": { "type": "Plotter Module", "name": "On-Balance-Volume", - "id": "d7835009-f055-4528-8d46-ce49834d6772" + "id": "b7f287ac-e31a-40a1-b085-ed2b4c358874" } } } ], - "id": "efa33e82-89a0-4b29-b015-537f385306c7", + "id": "ac54e9f7-2bf2-465d-9ae2-f9fabca9c563", "savedPayload": { "position": { "x": 18802.07325154551, @@ -7256,7 +7310,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Market Volume Oscillators", "project": "Foundations", - "id": "b67bfa65-a50b-477e-8139-31de540d22c3", + "id": "a2d4b002-0872-4586-848d-f6a9b4952522", "savedPayload": { "position": { "x": 17828.40629395643, @@ -7278,13 +7332,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Market", - "id": "65bbdbdc-df40-4238-b968-662a95bc43cc" + "id": "67443098-7362-41b1-9182-d5dc9aad5a2c" } } } ], "outputDatasetFolders": [], - "id": "f518e489-322c-409e-8c06-52e1e30a72aa", + "id": "cdc58ebe-d583-4b29-b6e2-903eadd365c9", "savedPayload": { "position": { "x": 17835.54560322026, @@ -7317,7 +7371,7 @@ "name": "Candles Volumes Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "c5fa5322-5084-47d5-bce6-8a53da7306db", + "id": "a1b7acaa-90df-4306-ba5e-b7d380addf46", "savedPayload": { "position": { "x": 17781.67092746818, @@ -7348,7 +7402,7 @@ "name": "Volume Oscillators Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "7eb155ff-c328-43a9-bc83-fdab0ba18e3a", + "id": "7da78035-d9da-409e-8ee8-168b0f992375", "savedPayload": { "position": { "x": 17556.470043172925, @@ -7370,7 +7424,7 @@ "referenceParent": { "type": "Status Report", "name": "Market-Volume-Energy", - "id": "74b8cc2e-f414-4675-9f42-786fbbe9e001" + "id": "f2a401e9-9fd8-49d5-9d4f-ade9b27fbbb1" } } } @@ -7380,7 +7434,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Market", "project": "Foundations", - "id": "b53e19ce-65a5-484e-8c68-5038425e8c23", + "id": "d93e4846-e296-41c7-bbee-eb739ec795d3", "savedPayload": { "position": { "x": 17437.731319486906, @@ -7410,7 +7464,7 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Market", "project": "Foundations", - "id": "dd8b5bf9-28ce-4f87-b78f-d5330d475e36", + "id": "f74ff0a2-23f9-4b27-9531-8f4b17b06a53", "savedPayload": { "position": { "x": 17384.21064879142, @@ -7438,7 +7492,7 @@ } ], "dataMineDataDependencies": [], - "id": "80841ad9-733c-4ca5-b1f7-9b5d81bebbe6", + "id": "6679c42b-8afb-4d39-a807-592f0c45e5e0", "savedPayload": { "position": { "x": 17608.47439889621, @@ -7465,7 +7519,7 @@ "type": "Status Report", "name": "Market-Volume-Energy", "project": "Foundations", - "id": "74b8cc2e-f414-4675-9f42-786fbbe9e001", + "id": "f2a401e9-9fd8-49d5-9d4f-ade9b27fbbb1", "savedPayload": { "position": { "x": 17579.381215613914, @@ -7490,7 +7544,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "512bb8d8-6409-48d5-ba45-24f21c20e9b7", + "id": "cab9aa68-4539-464f-804b-11818a75ad99", "savedPayload": { "position": { "x": 17692.72739328012, @@ -7520,7 +7574,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "120aa1d7-c998-4e5d-be12-a4424ff3571c", + "id": "827f10a3-6f5b-469a-b2b1-4b66a1222925", "savedPayload": { "position": { "x": 17714.60271868092, @@ -7541,7 +7595,7 @@ "uiObject": {} } }, - "id": "47332728-445a-42f5-aaf4-c82839c5757b", + "id": "1bdfe18f-b8e0-4e5c-9b14-f505cb15cf13", "savedPayload": { "position": { "x": 18546.503902297758, @@ -7578,7 +7632,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Daily Volume Oscillators", "project": "Foundations", - "id": "0e299df2-4d54-457c-b683-ef0a058081a1", + "id": "f6ebf7ac-9842-49bc-a8a6-0e006c86a213", "savedPayload": { "position": { "x": 17383.90029440688, @@ -7600,13 +7654,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Daily", - "id": "0ea01140-c513-4a93-8447-23cbcdfa8989" + "id": "12787cfa-73a7-4ad4-a363-36539a985bbf" } } } ], "outputDatasetFolders": [], - "id": "d3f691d8-1c23-40c6-a7b3-b972973cff15", + "id": "7ac9ceb9-6d48-4ec3-95b2-89efb5ab9fc1", "savedPayload": { "position": { "x": 17601.0205058384, @@ -7639,7 +7693,7 @@ "name": "Volume Oscillators Multi-Time-Frame-Daily", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "c6727c3d-92ee-47b6-a997-b5bea19cecb5", + "id": "1ec74686-9702-444e-ac30-810e1d210e5a", "savedPayload": { "position": { "x": 30633.7915997511, @@ -7661,7 +7715,7 @@ "referenceParent": { "type": "Status Report", "name": "Daily-FasTrend", - "id": "c088513a-110c-4c7e-b460-9a5f214abc69" + "id": "1e9d1d1c-922e-4b48-a77f-7e502572cda2" } } }, @@ -7670,7 +7724,7 @@ "name": "", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "9dd8dd42-5761-4eff-9405-2bb213ad8c02", + "id": "60928f88-8908-4ab8-8161-645d093ebdb6", "savedPayload": { "position": { "x": 30561.43731328186, @@ -7701,7 +7755,7 @@ "name": "Exchange Raw Data Historic-OHLCVs", "config": "{\n \"mainUtility\": \"Market Starting Point\"\n}", "project": "Foundations", - "id": "14a10a8a-e951-4e59-b4d7-74728bca9798", + "id": "27c47209-9f3a-4568-b661-be2737377766", "savedPayload": { "position": { "x": 30483.7915997511, @@ -7733,7 +7787,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Daily", "project": "Foundations", - "id": "7162d238-b155-495f-865f-c4ff13a09a42", + "id": "ebed5fd4-9a79-414d-a19d-08ae70b78fd3", "savedPayload": { "position": { "x": 30406.145886220344, @@ -7763,7 +7817,7 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Daily", "project": "Foundations", - "id": "72c5e871-8f1a-4905-9100-9a9cab01e7b6", + "id": "ddcf775c-7d62-4016-abcc-0736dfdd5c1c", "savedPayload": { "position": { "x": 30333.7915997511, @@ -7791,7 +7845,7 @@ } ], "dataMineDataDependencies": [], - "id": "f08cb293-fa4d-4c41-add6-015dbd71322f", + "id": "7dea8e43-2f87-46b0-8781-8ada09f483ff", "savedPayload": { "position": { "x": 17526.59724677286, @@ -7818,7 +7872,7 @@ "type": "Status Report", "name": "Daily-FasTrend", "project": "Foundations", - "id": "c088513a-110c-4c7e-b460-9a5f214abc69", + "id": "1e9d1d1c-922e-4b48-a77f-7e502572cda2", "savedPayload": { "position": { "x": 17674.216771227748, @@ -7843,7 +7897,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "64435eb8-c13e-4742-9d11-76ae571d5871", + "id": "e1dc00dd-e670-490e-82d0-226220d10aec", "savedPayload": { "position": { "x": 17714.628865547606, @@ -7873,7 +7927,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "9cd8b309-14c7-4f0f-82b7-f58e22f7941d", + "id": "5586dfa3-3d3c-4941-a6fa-49010c6cb896", "savedPayload": { "position": { "x": 17782.776876943506, @@ -7894,7 +7948,7 @@ "uiObject": {} } }, - "id": "83a80f8b-cb91-4295-94b4-986437f218ac", + "id": "c49e172b-a013-4bed-a640-725ff4dd5643", "savedPayload": { "position": { "x": 18375.29696051358, @@ -7930,7 +7984,7 @@ "name": "Multi-Time-Frame-Market", "config": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [\n \"24-hs\",\n \"12-hs\",\n \"08-hs\",\n \"06-hs\",\n \"04-hs\",\n \"03-hs\",\n \"02-hs\",\n \"01-hs\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\"\n}", "project": "Foundations", - "id": "65bbdbdc-df40-4238-b968-662a95bc43cc", + "id": "67443098-7362-41b1-9182-d5dc9aad5a2c", "savedPayload": { "position": { "x": 18210.742993312433, @@ -7956,7 +8010,7 @@ "name": "Multi-Time-Frame-Daily", "config": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [\n \"45-min\",\n \"40-min\",\n \"30-min\",\n \"20-min\",\n \"15-min\",\n \"10-min\",\n \"05-min\",\n \"04-min\",\n \"03-min\",\n \"02-min\",\n \"01-min\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n }\n}", "project": "Foundations", - "id": "0ea01140-c513-4a93-8447-23cbcdfa8989", + "id": "12787cfa-73a7-4ad4-a363-36539a985bbf", "savedPayload": { "position": { "x": 17789.852254737325, @@ -7993,7 +8047,7 @@ "name": "New Record Formula", "code": "record.current.begin", "project": "Foundations", - "id": "29a528a2-e8b4-4114-874a-d7ba830724e4", + "id": "ebc63036-203a-4b0c-b155-e863d9042ec7", "savedPayload": { "position": { "x": 17513.59020635566, @@ -8014,7 +8068,7 @@ "uiObject": {} } }, - "id": "5f93f999-42ac-4b47-84ad-26634312e928", + "id": "21ea3913-e517-4cf9-ae0c-e3dfee275d93", "savedPayload": { "position": { "x": 17599.191879053, @@ -8047,7 +8101,7 @@ "name": "New Record Formula", "code": "record.current.end", "project": "Foundations", - "id": "3da80d2d-2b17-477c-9d49-b2cd33a58d64", + "id": "aa6b9fac-7287-4666-8b09-30fc297acfd0", "savedPayload": { "position": { "x": 16439.497065365253, @@ -8068,7 +8122,7 @@ "uiObject": {} } }, - "id": "841b3efe-b335-4432-8ac6-82abef4cb8c7", + "id": "b6289eff-2c81-47a6-8969-57a519ac4ce7", "savedPayload": { "position": { "x": 17062.145308557796, @@ -8101,7 +8155,7 @@ "name": "New Record Formula", "code": "variable.osc", "project": "Foundations", - "id": "e0e20315-6f93-439c-98d4-5c640e582ba9", + "id": "58bf9fbd-3be7-49a9-a929-d696c1ad446a", "savedPayload": { "position": { "x": 16610.70041075993, @@ -8122,7 +8176,7 @@ "uiObject": {} } }, - "id": "2471431e-5f47-4665-b076-ac417499a82c", + "id": "8c5e7a91-f671-4ec4-aee7-200f81ce9130", "savedPayload": { "position": { "x": 17147.746981255135, @@ -8155,7 +8209,7 @@ "name": "New Record Formula", "code": "variable.oscb", "project": "Foundations", - "id": "3b9dfe77-4348-4b4f-bc81-5b62c3c3d94e", + "id": "dd8e7155-af7b-4544-b5ac-7af8e760c2d2", "savedPayload": { "position": { "x": 17855.996897145018, @@ -8176,7 +8230,7 @@ "uiObject": {} } }, - "id": "b6caff2c-5465-437f-8826-6441c6d38381", + "id": "92249765-4a15-4b9e-9611-4b1e191c252d", "savedPayload": { "position": { "x": 17770.39522444768, @@ -8209,7 +8263,7 @@ "name": "New Record Formula", "code": "variable.oscs", "project": "Foundations", - "id": "eae3bacf-19dc-46cc-8d95-a8122d5c5906", + "id": "50cc3274-a036-4968-8a00-9ef61e7a130d", "savedPayload": { "position": { "x": 18930.090038135426, @@ -8230,7 +8284,7 @@ "uiObject": {} } }, - "id": "fd1a5df1-41ff-4e75-bdbe-c23abffa88da", + "id": "2052246f-857d-4ec3-8710-d9d1be40641e", "savedPayload": { "position": { "x": 18307.441794942883, @@ -8254,7 +8308,7 @@ } } ], - "id": "a96f606a-94ce-4baf-8715-32d399383ff5", + "id": "6f53f06b-eac4-4b59-9d98-f9a2c4930be7", "savedPayload": { "position": { "x": 17683.79355175034, @@ -8290,7 +8344,7 @@ "name": "New Procedure Javascript Code", "code": "\t/* Loop Code */\n\n\tlet candle = record.current\n\tlet volume = getElement('volumes', candle)\n\tlet Vl = 28 //period for slow moving average\n\tlet Vs = 14 //period for fast moving average\n\n\n\t//evaluation of sell and buy volume as per indicated in the master data mine\n\tlet totalVolume = volume.buy + volume.sell\n\tlet distanceOpenMax = candle.max - candle.open\n\tlet distanceOpenMin = candle.open - candle.min\n\tlet distanceMaxMin = candle.max - candle.min\n\n\tvariable.buyVolume = totalVolume * distanceOpenMax * 100 / distanceMaxMin\n\tvariable.sellVolume = totalVolume * distanceOpenMin * 100 / distanceMaxMin\n\n\n\t//Array building\n\tvariable.VolShort.push(volume.sell + volume.buy)\n\tvariable.VolLong.push(volume.sell + volume.buy)\n\tvariable.VolShortB.push(variable.buyVolume)\n\tvariable.VolLongB.push(variable.buyVolume)\n\tvariable.VolShortS.push(variable.sellVolume)\n\tvariable.VolLongS.push(variable.sellVolume)\n\n\t// Keep the array the correct size\n\n\tif (variable.VolShort.length > Vs) {\n\t\tvariable.VolShort.splice(0, 1)\n\t}\n\n\tif (variable.VolLong.length > Vl) {\n\t\tvariable.VolLong.splice(0, 1)\n\t}\n\n\tif (variable.VolShortB.length > Vs) {\n\t\tvariable.VolShortB.splice(0, 1)\n\t}\n\n\tif (variable.VolLongB.length > Vl) {\n\t\tvariable.VolLongB.splice(0, 1)\n\t}\n\n\tif (variable.VolShortS.length > Vs) {\n\t\tvariable.VolShortS.splice(0, 1)\n\t}\n\n\tif (variable.VolLongS.length > Vl) {\n\t\tvariable.VolLongS.splice(0, 1)\n\t}\n\n\t//calculate volume mobile average\n\n\tvariable.VolAs = calVolAv(Vs, variable.VolShort) //fast volume mobile average\n\tvariable.VolAl = calVolAv(Vl, variable.VolLong) //slow\n\tvariable.VolAsB = calVolAv(Vs, variable.VolShortB) //fast volume mobile average BUY\n\tvariable.VolAlB = calVolAv(Vl, variable.VolLongB) //slow\n\tvariable.VolAsS = calVolAv(Vs, variable.VolShortS) //fast volume mobile average SELL\n\tvariable.VolAlS = calVolAv(Vl, variable.VolLongS) //slow\n\n\t//calculate volume oscillator and put it in an array prior to velocity calculation\n\tvariable.VOscAB = (variable.VolAsB - variable.VolAlB) / variable.VolAlB\n\tvariable.VOscAS = (variable.VolAsS - variable.VolAlS) / variable.VolAlS\n\tvariable.VOscA = (variable.VolAs - variable.VolAl) / variable.VolAl\n\n\tif (isNaN(variable.VOscA)) {\n\n\tvariable.osc = 0\n\t}\n\telse {\n\tvariable.osc = variable.VOscA\n\n\t}\n\tif (isNaN(variable.VOscAB)) {\n\n\tvariable.oscb = 1\n\t}\n\telse {\n\tvariable.oscb = variable.VOscAB\n\t}\t\n\tif (isNaN(variable.VOscAS)) {\n\n\tvariable.oscs = -1\n\t}\n\telse {\n\tvariable.oscs = variable.VOscAS\n\t}\n\t//functions\n\t//Volume average\n\tfunction calVolAv(periods, array) {\n\t\tvariable.S = 0\n\t\tfor(var i = 0 ; i < periods ; i++) {\n\t\t\tvariable.S = variable.S + array[i]\n\t\t}\n\t\treturn variable.S/periods\n\t}\n\n\t// End of code :-)", "project": "Foundations", - "id": "67386cf3-b402-45d8-a680-b62f88d82df4", + "id": "9bba5675-e6ee-4426-8d8a-b0c612343613", "savedPayload": { "position": { "x": 18001.442230521236, @@ -8311,7 +8365,7 @@ "uiObject": {} } }, - "id": "06fc72a0-0ec5-4dbf-8101-a52ebe1e3e7a", + "id": "e7af49e5-cac5-4a2b-a50d-ef3d50e3bc1d", "savedPayload": { "position": { "x": 18074.236603722227, @@ -8343,7 +8397,7 @@ "name": "New Procedure Javascript Code", "code": "/* Initialization Code*/\n\nvariable.VolShort = []\nvariable.VolLong = []\nvariable.VOscA = []\nvariable.VolShortB = []\nvariable.VolLongB = []\nvariable.VolShortS = []\nvariable.VolLongS = []\nvariable.VOscB = []\nvariable.VOscS = []", "project": "Foundations", - "id": "f94c80ec-abe2-4cfb-9244-6984065a23ed", + "id": "53b9aad0-77c0-478d-a635-100a8eb2db5e", "savedPayload": { "position": { "x": 18202.091690508343, @@ -8364,7 +8418,7 @@ "uiObject": {} } }, - "id": "1ad63dc1-c203-456a-a61b-040c1a379219", + "id": "5542cd71-75fc-4aa1-943d-2945f7581ad6", "savedPayload": { "position": { "x": 18179.110982040842, @@ -8387,7 +8441,7 @@ } } }, - "id": "2d29f503-449a-474d-b64e-901876cd8248", + "id": "c0965f80-b3c8-43a4-9e7a-c2bb03c44219", "savedPayload": { "position": { "x": 18156.13027357334, @@ -8410,7 +8464,7 @@ } } }, - "id": "5faf967b-9d0e-4c37-a609-0ada3570f16e", + "id": "b55c309c-0454-493d-b583-dd4bce41c972", "savedPayload": { "position": { "x": 18220.840122245543, @@ -8434,12 +8488,12 @@ "referenceParent": { "type": "Plotter Module", "name": "Volume Oscillators", - "id": "c4b3bf9a-55bd-4944-95d4-1d5f3c0dd1b9" + "id": "09aa6c77-61a8-4b0d-bc2c-bcdc24e33c06" } } } ], - "id": "c151e883-1bc1-419a-aa18-0644743f537b", + "id": "e683c2c0-c534-42a9-bccc-9f74e52a1a5b", "savedPayload": { "position": { "x": 18704.74624689907, @@ -8482,7 +8536,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Market HoltWinters", "project": "Foundations", - "id": "d9dcb785-e92b-4475-adef-f4af423ad6a5", + "id": "71afc760-4860-413b-8f26-712bcbcecc7d", "savedPayload": { "position": { "x": 18156.584614518204, @@ -8504,13 +8558,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Market", - "id": "05b776e9-1205-4dbe-a1fc-9bf36eba3b4b" + "id": "8bb4f52b-c0d2-4f7d-82a8-3d316ceb34b5" } } } ], "outputDatasetFolders": [], - "id": "9596150b-6b7e-4171-b6e7-279230450cd2", + "id": "5957e46c-744c-4dde-b359-e0d962fd0a71", "savedPayload": { "position": { "x": 18596.23944045225, @@ -8543,7 +8597,7 @@ "name": "Candles Volumes Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "693422d2-1e94-4274-b204-34f35ac272e2", + "id": "cf4ad5dd-61f7-429f-8441-e062b60e6453", "savedPayload": { "position": { "x": 18786.2067928767, @@ -8574,7 +8628,7 @@ "name": "Holt-Winters forecast Multi-Time-Frame-Market", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "8727df3c-5ef6-497d-afe6-e5b559b691b0", + "id": "9ef6dbd4-d8e0-4d31-82af-7e4d4d111c11", "savedPayload": { "position": { "x": 18494.72539536913, @@ -8596,7 +8650,7 @@ "referenceParent": { "type": "Status Report", "name": "HoltWinters", - "id": "dc8d4c47-ab19-4b3d-baac-110d0864d684" + "id": "601bee02-2a2b-4f9d-b097-0bf1602f31d9" } } } @@ -8606,7 +8660,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Market", "project": "Foundations", - "id": "0ebf0cdf-ae06-4670-aaf1-6e1a264599d0", + "id": "a5044669-bcbe-4876-bbfd-3afe707319ed", "savedPayload": { "position": { "x": 18355.858321573367, @@ -8636,7 +8690,7 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Market", "project": "Foundations", - "id": "3ed6ad11-5a11-4487-af03-c20f0e10ae2a", + "id": "414ba1d2-492b-457d-a55f-03201941bbf7", "savedPayload": { "position": { "x": 18247.79023243334, @@ -8664,7 +8718,7 @@ } ], "dataMineDataDependencies": [], - "id": "2e1d607c-8e6e-43a2-9712-607c5f5e717d", + "id": "420769c2-35b7-405b-9e9c-4000c2f67cb7", "savedPayload": { "position": { "x": 18436.49111022106, @@ -8691,7 +8745,7 @@ "type": "Status Report", "name": "HoltWinters", "project": "Foundations", - "id": "dc8d4c47-ab19-4b3d-baac-110d0864d684", + "id": "601bee02-2a2b-4f9d-b097-0bf1602f31d9", "savedPayload": { "position": { "x": 18296.65058002588, @@ -8716,7 +8770,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "08434d60-d549-4c9a-90bb-3aea21bf0aba", + "id": "cc2b6b6e-61ae-4599-a96c-e964a6868f14", "savedPayload": { "position": { "x": 18326.39131190213, @@ -8746,7 +8800,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "258b2948-c5ee-4b91-af7d-3e20829f6e29", + "id": "2e3a797a-1123-403d-946f-46a07b6e704d", "savedPayload": { "position": { "x": 18310.2478603172, @@ -8767,7 +8821,7 @@ "uiObject": {} } }, - "id": "b70b96ed-ae3b-4edd-922f-5398c2080982", + "id": "e9e2655b-1847-4d56-9301-b19250d73939", "savedPayload": { "position": { "x": 18524.909391792124, @@ -8804,7 +8858,7 @@ "type": "Output Dataset", "name": "Multi-Time-Frame-Daily HoltWinters", "project": "Foundations", - "id": "b42af68a-1d2d-4bbe-b328-3fd8ba24eed6", + "id": "3a771870-33b9-447c-af49-8c42f79945f2", "savedPayload": { "position": { "x": 18144.579524189787, @@ -8826,13 +8880,13 @@ "referenceParent": { "type": "Dataset Definition", "name": "Multi-Time-Frame-Daily", - "id": "1c33936c-0ba3-4cbc-8f31-c6584dffdc2c" + "id": "6e7a5b4c-c0f6-4260-855d-c0cb21dd6e4c" } } } ], "outputDatasetFolders": [], - "id": "30bffba1-4678-4a6f-bcdd-9b7cc4e7c766", + "id": "bee701b6-3d2c-4168-8905-fc7bf9f50380", "savedPayload": { "position": { "x": 18237.28462250227, @@ -8865,7 +8919,7 @@ "name": "Holt-Winters forecast Multi-Time-Frame-Daily", "config": "{\n \"mainUtility\": \"Self Reference\"\n}", "project": "Foundations", - "id": "34f358c8-1dc7-4857-a4b0-ba4f148fb63e", + "id": "d63c00fd-82f8-4301-8b47-4f366791fc87", "savedPayload": { "position": { "x": 18014.34117485905, @@ -8887,7 +8941,7 @@ "referenceParent": { "type": "Status Report", "name": "HoltWinters", - "id": "189c6409-9269-44db-87d8-6e9bd7df218f" + "id": "cc5e3170-5293-48ca-8238-5082c37e69cc" } } }, @@ -8896,7 +8950,7 @@ "name": "", "config": "{\n \"mainUtility\": \"Market Ending Point\"\n}", "project": "Foundations", - "id": "81988f17-3622-4b51-bf5e-36d818c0c7c5", + "id": "dea85ac1-ae8e-4e0a-bbd1-e44119f3e446", "savedPayload": { "position": { "x": 17943.654562667027, @@ -8927,7 +8981,7 @@ "name": "Exchange Raw Data Historic-OHLCVs", "config": "{\n \"mainUtility\": \"Market Starting Point\"\n}", "project": "Foundations", - "id": "a8876fd5-4a16-4a1a-8fe6-bdae6d280c51", + "id": "5c8ba76f-687f-491d-9935-e00faf241250", "savedPayload": { "position": { "x": 17884.102825528316, @@ -8959,7 +9013,7 @@ "type": "Data Dependency", "name": "Candles Multi-Time-Frame-Daily", "project": "Foundations", - "id": "d71a2fd0-3a5f-4b33-a770-bbc752ca12b3", + "id": "1d7c2365-7895-4ff4-8c8f-9588ae2df80b", "savedPayload": { "position": { "x": 17839.744315915024, @@ -8989,7 +9043,7 @@ "type": "Data Dependency", "name": "Volumes Multi-Time-Frame-Daily", "project": "Foundations", - "id": "3b939b10-ce88-4331-a942-00b3cd9a306f", + "id": "55beea38-bcab-49e8-a704-af01e94ce989", "savedPayload": { "position": { "x": 17813.601992951393, @@ -9017,7 +9071,7 @@ } ], "dataMineDataDependencies": [], - "id": "f661b1ed-08bb-4aff-a172-e574e7903fab", + "id": "dd1df02f-971c-4067-868c-30b46c274fa0", "savedPayload": { "position": { "x": 18107.046273171534, @@ -9044,7 +9098,7 @@ "type": "Status Report", "name": "HoltWinters", "project": "Foundations", - "id": "189c6409-9269-44db-87d8-6e9bd7df218f", + "id": "cc5e3170-5293-48ca-8238-5082c37e69cc", "savedPayload": { "position": { "x": 18183.26758070468, @@ -9069,7 +9123,7 @@ "type": "Execution Started Event", "name": "", "project": "Foundations", - "id": "cefab348-0397-410c-ac33-38bd9141c5fd", + "id": "14f6bae2-c02f-4086-bdfe-dd09416de2a6", "savedPayload": { "position": { "x": 18187.331243370478, @@ -9099,7 +9153,7 @@ "type": "Execution Finished Event", "name": "New Execution Finished Event", "project": "Foundations", - "id": "b8ca1628-012c-4969-85bf-4c2f65f764b1", + "id": "6e432fe2-3dcd-4148-80e1-eccef3ae8365", "savedPayload": { "position": { "x": 18229.620129860923, @@ -9120,7 +9174,7 @@ "uiObject": {} } }, - "id": "a493375d-b206-4ccf-9e7e-53ba0723d6cd", + "id": "d6238113-6c86-48fa-abee-87cdb21419b5", "savedPayload": { "position": { "x": 18362.550561748263, @@ -9156,7 +9210,7 @@ "name": "Multi-Time-Frame-Market", "config": "{\n \"codeName\": \"Multi-Time-Frame-Market\",\n \"type\": \"Market Files\",\n \"validTimeFrames\": [\n \"24-hs\",\n \"12-hs\",\n \"08-hs\",\n \"06-hs\",\n \"04-hs\",\n \"03-hs\",\n \"02-hs\",\n \"01-hs\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame\",\n \"fileName\": \"Data.json\"\n}", "project": "Foundations", - "id": "05b776e9-1205-4dbe-a1fc-9bf36eba3b4b", + "id": "8bb4f52b-c0d2-4f7d-82a8-3d316ceb34b5", "savedPayload": { "position": { "x": 18188.66203879404, @@ -9182,7 +9236,7 @@ "name": "Multi-Time-Frame-Daily", "config": "{\n \"codeName\": \"Multi-Time-Frame-Daily\",\n \"type\": \"Daily Files\",\n \"validTimeFrames\": [\n \"45-min\",\n \"40-min\",\n \"30-min\",\n \"20-min\",\n \"15-min\",\n \"10-min\",\n \"05-min\",\n \"04-min\",\n \"03-min\",\n \"02-min\",\n \"01-min\"\n ],\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset/@TimeFrame/@Year/@Month/@Day\",\n \"fileName\": \"Data.json\",\n \"dataRange\": {\n \"filePath\": \"Project/@Project/@MineType/@Mine/@Bot/@Exchange/@BaseAsset-@QuotedAsset/Output/@Product/@Dataset\",\n \"fileName\": \"Data.Range.json\"\n }\n}", "project": "Foundations", - "id": "1c33936c-0ba3-4cbc-8f31-c6584dffdc2c", + "id": "6e7a5b4c-c0f6-4260-855d-c0cb21dd6e4c", "savedPayload": { "position": { "x": 17786.402167692613, @@ -9219,7 +9273,7 @@ "name": "New Record Formula", "code": "record.current.begin", "project": "Foundations", - "id": "cb02a2c0-02b2-4494-8063-11521cb6d1c7", + "id": "bea01b6e-7547-450a-b0ef-f118275c27a4", "savedPayload": { "position": { "x": 18182.212120661945, @@ -9240,7 +9294,7 @@ "uiObject": {} } }, - "id": "9ab2c195-0f20-4416-8602-3229ea0b7878", + "id": "bdd60f29-d534-47a9-b444-0abd91693c4d", "savedPayload": { "position": { "x": 18031.99903400675, @@ -9273,7 +9327,7 @@ "name": "New Record Formula", "code": "record.current.end", "project": "Foundations", - "id": "6f61859d-23fa-4dd0-8518-982def371198", + "id": "02b41736-8fee-46fa-ba0a-48c4993ac1be", "savedPayload": { "position": { "x": 17799.77996088009, @@ -9294,7 +9348,7 @@ "uiObject": {} } }, - "id": "77e7d3b0-d737-409b-a05c-c5cd46474585", + "id": "9c5ab93e-ca49-4643-9bf1-32499da3ca98", "savedPayload": { "position": { "x": 17840.78295411582, @@ -9327,7 +9381,7 @@ "name": "New Record Formula", "code": "variable.Y", "project": "Foundations", - "id": "81be25f0-8a45-4c91-a50d-f02844195a84", + "id": "605559f6-d084-454a-a663-3105057af2c8", "savedPayload": { "position": { "x": 17589.53432560297, @@ -9348,7 +9402,7 @@ "uiObject": {} } }, - "id": "6cf0df80-6da6-4c38-8392-a11d5eea6cc8", + "id": "1c00f995-9185-4512-9731-1e851ec286ed", "savedPayload": { "position": { "x": 17735.66013647726, @@ -9381,7 +9435,7 @@ "name": "New Record Formula", "code": "variable.forecast", "project": "Foundations", - "id": "45b58604-cc25-4b91-976e-fa52f9cee84d", + "id": "08eaa95f-fd31-4fab-8812-5da77caf8c57", "savedPayload": { "position": { "x": 17457.59727636007, @@ -9402,7 +9456,7 @@ "uiObject": {} } }, - "id": "5a28a5d3-4cca-49e8-8dfa-c3399c651b31", + "id": "af3c3d0a-8565-40cf-aec7-9ba81d532408", "savedPayload": { "position": { "x": 17669.69161185581, @@ -9435,7 +9489,7 @@ "name": "New Record Formula", "code": "variable.A", "project": "Foundations", - "id": "9db5cf17-e5bc-46e9-8bab-d7e77d8a55af", + "id": "9e7c89ba-aa95-40e8-860f-8b3ee47318f1", "savedPayload": { "position": { "x": 17549.937416048717, @@ -9456,7 +9510,7 @@ "uiObject": {} } }, - "id": "e17859ee-78e6-4281-b617-ed5567af98bc", + "id": "93895fb0-e5f4-4100-9cdd-862ed27c18c0", "savedPayload": { "position": { "x": 17660.553593149663, @@ -9489,7 +9543,7 @@ "name": "New Record Formula", "code": "variable.B", "project": "Foundations", - "id": "8765c341-f388-462c-9f02-61c62cd81036", + "id": "23bc3ea6-19b9-473b-8367-c717a9ba2ef0", "savedPayload": { "position": { "x": 17625.148933961544, @@ -9510,7 +9564,7 @@ "uiObject": {} } }, - "id": "64d0df13-1845-43a3-a3bd-1ed7fe1730ec", + "id": "97e435da-4183-4eff-a815-16ab56944229", "savedPayload": { "position": { "x": 17710.694605091547, @@ -9543,7 +9597,7 @@ "name": "New Record Formula", "code": "variable.forecast5", "project": "Foundations", - "id": "e09d708d-8f0c-4137-ab18-3f31eb536723", + "id": "f3530012-6565-41ee-83ee-dfb7beb111b5", "savedPayload": { "position": { "x": 17769.126132360154, @@ -9564,7 +9618,7 @@ "uiObject": {} } }, - "id": "5ce5ae1b-9f47-40c4-939b-1386de8bd9a0", + "id": "2b036588-7bdd-4776-a103-81787462b983", "savedPayload": { "position": { "x": 17806.679404023955, @@ -9597,7 +9651,7 @@ "name": "New Record Formula", "code": "variable.forecast10", "project": "Foundations", - "id": "e5c45767-a0f3-4f17-b67b-2034670b326b", + "id": "7280a37f-ef8a-4489-a788-71a007793ea4", "savedPayload": { "position": { "x": 17943.290437205153, @@ -9618,7 +9672,7 @@ "uiObject": {} } }, - "id": "deab54b1-dad1-48da-a23b-9b765688f7a2", + "id": "31631220-2612-4db5-9670-e73b61b5c146", "savedPayload": { "position": { "x": 17922.788940587285, @@ -9651,7 +9705,7 @@ "name": "New Record Formula", "code": "variable.forecast20", "project": "Foundations", - "id": "d6a64904-6853-4450-8378-fbd519475166", + "id": "26a4d570-687a-471a-b524-bc5df6a46eba", "savedPayload": { "position": { "x": 18100.97466366299, @@ -9672,7 +9726,7 @@ "uiObject": {} } }, - "id": "a68f8dea-5639-4502-b5aa-f8285f6905c4", + "id": "9cf6d1fc-af1a-4ad3-ae2a-e366806f9347", "savedPayload": { "position": { "x": 18027.911758225844, @@ -9705,7 +9759,7 @@ "name": "New Record Formula", "code": "variable.forecast30", "project": "Foundations", - "id": "a6b9a98c-a5e8-49d4-9195-2d08658ddca9", + "id": "b00ccafa-ffc9-4b15-9513-fd306325caca", "savedPayload": { "position": { "x": 18199.927450595165, @@ -9726,7 +9780,7 @@ "uiObject": {} } }, - "id": "c57e4f5c-eff1-4fdc-9a53-b2dfd147d291", + "id": "e9e91fd1-2939-4182-a128-a0356329df68", "savedPayload": { "position": { "x": 18093.880282847294, @@ -9759,7 +9813,7 @@ "name": "New Record Formula", "code": "variable.trend", "project": "Foundations", - "id": "bbb95e80-676d-40ba-ad7b-c6e614fc886e", + "id": "17e333b8-fcd6-4d0e-8a71-45786d8db30a", "savedPayload": { "position": { "x": 18213.63447865439, @@ -9780,7 +9834,7 @@ "uiObject": {} } }, - "id": "110220de-6d41-4c75-9e65-ac39d9416d0a", + "id": "d4fe6f3c-2595-4cbc-87e5-e35c4d3705e9", "savedPayload": { "position": { "x": 18103.018301553442, @@ -9804,7 +9858,7 @@ } } ], - "id": "5986706f-aed2-447c-b72a-1e64ffd21344", + "id": "191f3821-69fc-4ebf-8dd3-11fc5eeb29e9", "savedPayload": { "position": { "x": 17881.785947351553, @@ -9840,7 +9894,7 @@ "name": "New Procedure Javascript Code", "code": "\tlet candle = record.current\n\tlet Al = 0.4 //initial value for alpha factor\n\tlet Bet = 0.4 //initial value for beta factor\n\tlet Ph = 0.8 //initial value for phi factor\n\tlet Ga = 0.3 //initial value for gamma factor\n\tlet sLen = 5 //length of seasonal period ; integer only\n\tlet fLen = 6 //number of season period to forecast ; integer only ; forecast will be calculated on fLen * sLen = 30 periods\n\tlet Iter = 20 //number of loop to proceed parameters optimization\n\n\n\t//initializing Factors with fixed value or optimized value if exists\n\tif (variable.Alpha === undefined) {\n\t\tvariable.Alpha = Al\n\t }\n\t else {\n\t variable.Alpha = variable.Alpha\n\t }\n\t \n\tif (variable.Beta === undefined) {\n\t\tvariable.Beta = Bet\n\t }\n\t else {\n\t variable.Beta = variable.Beta\n\t }\n\n\tif (variable.Phi === undefined) {\n\t\tvariable.Phi = Ph\n\t }\n\t else {\n\t variable.Phi = variable.Phi\n\t }\n\n\tif (variable.Gamma === undefined) {\n\t\tvariable.Gamma = Ga\n\t }\n\t else {\n\t variable.Gamma = variable.Gamma\n\t }\n\t \n\t//Fetching candle close values for sLen length \n\tvariable.lastClose.push(candle.close)\n\tif(variable.lastClose.length > sLen) {\n\t\tvariable.lastClose.splice(0,1)\n\t}\n\tvariable.lastClose2x.push(candle.close)\n\tif(variable.lastClose2x.length > 2 * sLen) {\n\t\tvariable.lastClose2x.splice(0,1)\n\t}\n\t//Initializing A, B, S, Y variables according to Hyndman parameters https://robjhyndman.com/hyndsight/hw-initialization/\n\t\n\t//managing the undefined values until lastClose2x reach sufficient length\n\tvariable.trig = 0 //variable to indicate initialization stage is over\n\tif(variable.lastClose2x.length < 2 * sLen && variable.trig === 0) {\n\t\tvariable.Y = 0 //forecast through history variable\n\t\tvariable.A = 0 //level\n\t\tvariable.B = 0 //trend\n\t\tvariable.S[0] = 0 //season\n\t\tvariable.previousB = variable.B\n\t\tvariable.previousA = variable.A\n\t\tvariable.trend = 0\n\t}\n\tif(variable.lastClose2x.length === 2 * sLen && variable.trig === 0) {\n\t\tfor(var i = 0 ; i < sLen ; i++) {\n\t\t\tvariable.previousA = variable.previousA + variable.lastClose[i]\n\t\t}\n\t\tvariable.previousA = variable.previousA / sLen\n\t\tfor(var i = 0; i < sLen ; i++) {\n\t\t\tvariable.previousB = variable.previousB + variable.lastClose2x[i + sLen] - variable.lastClose2x[i]\n\t\t}\n\t\tvariable.previousB = variable.previousB / Math.pow(sLen,2)\n\t\tvariable.S[0] = candle.close / variable.previousA\n\t\tvariable.trig = 1 \n\t\tvariable.trend = 0\n\t}\n\tif(variable.lastClose2x.length === 2* sLen && variable.trig === 1)\n\t{\n\t\tvariable.Y = (variable.previousA + variable.Phi * variable.previousB) * variable.S[0]\n\t\tvariable.A = variable.Alpha * variable.Y / variable.S[0] + (1 - variable.Alpha) * (variable.previousA + variable.Phi * variable.previousB)\n\t\tvariable.B = variable.Beta * (variable.A - variable.previousA) + (1 - variable.Beta) * variable.Phi * variable.previousB\n\t\tvariable.S.push(variable.Gamma * variable.Y / variable.A + (1 - variable.Gamma) * variable.S[0])\n\t\tvariable.slope = variable.B - variable.previousB\n\t\tif(variable.slope < 0){\n\t\t\tvariable.trend = 1\n\t\t}\n\t\telse {\n\t\t\tvariable.trend = -1\n\t\t}\n\t\tvariable.previousA = variable.A\n\t\tvariable.previousB = variable.B\n\t}\n\n\t//keep Season array to the right size\n\tif(variable.S.length > sLen) {\n\t\tvariable.S.splice(0,1)\n\t}\n\n\t//Parameters optimization\n\t//calculation of initial mean square error\n\n\tvariable.Errors.push(Math.pow(variable.Y - candle.close, 2))\n\tif(variable.Errors.length > sLen) {\n\t\t\tvariable.Errors.splice(0,1)\n\t}\n\tif(variable.Errors.length === sLen) {\n\t\tvariable.ErrSqSum = 0\n\t\tfor (var k = 0 ; k < variable.Errors.length ; k++) {\n\t\t\t\tvariable.ErrSqSum = variable.ErrSqSum + variable.Errors[k]\n\t\t}\n\t\tvariable.MS = variable.ErrSqSum / variable.Errors.length\n\t\tif(variable.lastClose2x.length === 2*sLen && variable.trig === 1 ){\n\t\t//initialiying best parameters calculation\n\t\tvariable.bestAlpha = 0\n\t\tvariable.bestBeta = variable.Beta\n\t\tvariable.bestPhi = variable.Phi\n\t\tvariable.bestGamma = variable.Gamma\n\t\tvariable.bestError = variable.MS\n\t\t//Alpha optimization\n\t\tfor(var i = 0 ; i < Iter ; i++) {\n\t\t\n\t\t\tvariable.sS = []\n\t\t\tvariable.sError = []\n\t\t\tvariable.bestAlpha = variable.bestAlpha +(1 - i/Iter)\n\t\t\tvariable.sS[0] = variable.S[0]\n\t\t\tvariable.previoussA = variable.previousA\n\t\t\tvariable.previoussB = variable.previousB\n\t\t\tvariable.sErrSqSum = 0\n\t\t\tfor(var j=0 ; j < sLen ; j++) {\n\t\t\t\tvariable.sY = (variable.previoussA + variable.bestPhi * variable.previoussB) * variable.sS[0]\n\t\t\t\tvariable.sA = variable.bestAlpha * variable.sY / variable.sS[0] + (1 - variable.bestAlpha) * (variable.previoussA + variable.bestPhi * variable.previoussB)\n\t\t\t\tvariable.sB = variable.bestBeta * (variable.sA - variable.previoussA) + (1 - variable.bestBeta) * variable.bestPhi * variable.previoussB\n\t\t\t\tvariable.sS.push(variable.bestGamma * variable.sY / variable.sA + (1 - variable.bestGamma) * variable.sS[0])\n\t\t\t\tvariable.previoussA = variable.sA\n\t\t\t\tvariable.previoussB = variable.sB\n\t\t\t\tvariable.sError.push(Math.pow(variable.sY - variable.lastClose[j],2))\n\t\t\t}\n\t\t\tfor(var k = 0 ; k < variable.sError.length ; k++) {\n\t\t\t\tvariable.sErrSqSum = variable.sErrSqSum + variable.sErrSqSum[k]\n\t\t\t}\n\t\t\tvariable.sMS = variable.sErrSqSum / variable.sError.length\n\t\t\tif(variable.sMS < variable.bestError){\n\t\t\t\tvariable.bestError = variable.sMs\n\t\t\t\tvariable.Alpha = variable.bestAlpha\n\t\t\t}\n\t\t\n\t\t}\n\t\tvariable.bestError = variable.MS\n\t\tvariable.bestBeta = 0\n\t\t//Beta optimization\n\t\tfor(var i = 0 ; i < Iter ; i++) {\n\t\t\t\n\t\t\tvariable.sS = []\n\t\t\tvariable.sError = []\n\t\t\tvariable.bestBeta = variable.bestBeta +(1 - i/Iter)\n\t\t\tvariable.sS[0] = variable.S[0]\n\t\t\tvariable.previoussA = variable.previousA\n\t\t\tvariable.previoussB = variable.previousB\n\t\t\tvariable.sErrSqSum = 0\n\t\t\tfor(var j=0 ; j < sLen ; j++) {\n\t\t\t\tvariable.sY = (variable.previoussA + variable.bestPhi * variable.previoussB) * variable.sS[0]\n\t\t\t\tvariable.sA = variable.bestAlpha * variable.sY / variable.sS[0] + (1 - variable.bestAlpha) * (variable.previoussA + variable.bestPhi * variable.previoussB)\n\t\t\t\tvariable.sB = variable.bestBeta * (variable.sA - variable.previoussA) + (1 - variable.bestBeta) * variable.bestPhi * variable.previoussB\n\t\t\t\tvariable.sS.push(variable.bestGamma * variable.sY / variable.sA + (1 - variable.bestGamma) * variable.sS[0])\n\t\t\t\tvariable.previoussA = variable.sA\n\t\t\t\tvariable.previoussB = variable.sB\n\t\t\t\tvariable.sError.push(Math.pow(variable.sY - variable.lastClose[j],2))\n\t\t\t}\n\t\t\tfor(var k = 0 ; k < variable.sError.length ; k++) {\n\t\t\t\tvariable.sErrSqSum = variable.sErrSqSum + variable.sErrSqSum[k]\n\t\t\t}\n\t\t\tvariable.sMS = variable.sErrSqSum / variable.sError.length\n\t\t\tif(variable.sMS < variable.bestError){\n\t\t\t\tvariable.bestError = variable.sMs\n\t\t\t\tvariable.Beta = variable.bestBeta\n\t\t\t}\n\t\t\n\t\t}\n\t\tvariable.bestError = variable.MS\n\t\tvariable.bestPhi = 0.8\n\t\t//Phi optimization\n\t\tfor(var i = 0 ; i < Iter ; i++) {\n\t\t\t\n\t\t\tvariable.sS = []\n\t\t\tvariable.sError = []\n\t\t\tvariable.bestPhi = variable.bestPhi +(1 - (i/Iter) * 0.2)\n\t\t\tvariable.sS[0] = variable.S[0]\n\t\t\tvariable.previoussA = variable.previousA\n\t\t\tvariable.previoussB = variable.previousB\n\t\t\tvariable.sErrSqSum = 0\n\t\t\tfor(var j=0 ; j < sLen ; j++) {\n\t\t\t\tvariable.sY = (variable.previoussA + variable.bestPhi * variable.previoussB) * variable.sS[0]\n\t\t\t\tvariable.sA = variable.bestAlpha * variable.sY / variable.sS[0] + (1 - variable.bestAlpha) * (variable.previoussA + variable.bestPhi * variable.previoussB)\n\t\t\t\tvariable.sB = variable.bestBeta * (variable.sA - variable.previoussA) + (1 - variable.bestBeta) * variable.bestPhi * variable.previoussB\n\t\t\t\tvariable.sS.push(variable.bestGamma * variable.sY / variable.sA + (1 - variable.bestGamma) * variable.sS[0])\n\t\t\t\tvariable.previoussA = variable.sA\n\t\t\t\tvariable.previoussB = variable.sB\n\t\t\t\tvariable.sError.push(Math.pow(variable.sY - variable.lastClose[j],2))\n\t\t\t}\n\t\t\tfor(var k = 0 ; k < variable.sError.length ; k++) {\n\t\t\t\tvariable.sErrSqSum = variable.sErrSqSum + variable.sErrSqSum[k]\n\t\t\t}\n\t\t\tvariable.sMS = variable.sErrSqSum / variable.sError.length\n\t\t\tif(variable.sMS < variable.bestError){\n\t\t\t\tvariable.bestError = variable.sMs\n\t\t\t\tvariable.Phi = variable.bestPhi\n\t\t\t}\n\t\t\n\t\t}\n\t\tvariable.bestError = variable.MS\n\t\tvariable.bestGamma = 0\n\t\t//Gamma optimization\n\t\tfor(var i = 0 ; i < Iter ; i++) {\n\t\t\t\n\t\t\tvariable.sS = []\n\t\t\tvariable.sError = []\n\t\t\tvariable.bestGamma = variable.bestGamma +(1 - i/Iter)\n\t\t\tvariable.sS[0] = variable.S[0]\n\t\t\tvariable.previoussA = variable.previousA\n\t\t\tvariable.previoussB = variable.previousB\n\t\t\tvariable.sErrSqSum = 0\n\t\t\tfor(var j=0 ; j < sLen ; j++) {\n\t\t\t\tvariable.sY = (variable.previoussA + variable.bestPhi * variable.previoussB) * variable.sS[0]\n\t\t\t\tvariable.sA = variable.bestAlpha * variable.sY / variable.sS[0] + (1 - variable.bestAlpha) * (variable.previoussA + variable.bestPhi * variable.previoussB)\n\t\t\t\tvariable.sB = variable.bestBeta * (variable.sA - variable.previoussA) + (1 - variable.bestBeta) * variable.bestPhi * variable.previoussB\n\t\t\t\tvariable.sS.push(variable.bestGamma * variable.sY / variable.sA + (1 - variable.bestGamma) * variable.sS[0])\n\t\t\t\tvariable.previoussA = variable.sA\n\t\t\t\tvariable.previoussB = variable.sB\n\t\t\t\tvariable.sError.push(Math.pow(variable.sY - variable.lastClose[j],2))\n\t\t\t}\n\t\t\tfor(var k = 0 ; k < variable.sError.length ; k++) {\n\t\t\t\tvariable.sErrSqSum = variable.sErrSqSum + variable.sErrSqSum[k]\n\t\t\t}\n\t\t\tvariable.sMS = variable.sErrSqSum / variable.sError.length\n\t\t\tif(variable.sMS < variable.bestError){\n\t\t\t\tvariable.bestError = variable.sMs\n\t\t\t\tvariable.Gamma = variable.bestGamma\n\t\t\t}\n\t\t\n\t\t}\n\t}\n\t}\n\t//initializing forecast data\n\tvariable.fS = [] // purge the season array for forecast data\n\tvariable.previousfA = variable.A //equivalent A variable for the forecast calculation\n\tvariable.previousfB = variable.B //equivalent B variable for the forecast calculation\n\n\n\t//calculating forecast data\n\tif(variable.S.length === sLen && variable.trig === 1) {\n\tfor (var j = 0; j < fLen ; j++) {\n\t\tfor(var n = 0; n < sLen; n++) {\n\t\t\tvariable.fY.push((variable.previousfA + variable.Phi * variable.previousfB) * variable.S[n])\n\t\t\tvariable.fA = variable.previousfA + variable.Phi * variable.previousfB\n\t\t\tvariable.fB = variable.Phi * variable.previousfB\n\t\t\tvariable.previousfA = variable.fA\n\t\t\tvariable.previousfB = variable.fB\n\t\t\tif(variable.fY.length > fLen * sLen) {\n\t\t\t\tvariable.fY.splice(0,1)\n\t\t\t}\n\t\t}\n\t}\n\n\t\tvariable.forecast = 100 * variable.fY[0] \n\t\tvariable.forecast5 = 100 * (variable.fY[4] - variable.fY[0])/variable.fY[0]\n\t\tvariable.forecast10 = 100 * (variable.fY[9] - variable.fY[0])/variable.fY[0]\n\t\tvariable.forecast20 = 100 * (variable.fY[19] - variable.fY[0])/variable.fY[0]\n\t\tvariable.forecast30 = 100 * (variable.fY[29] - variable.fY[0])/variable.fY[0]\n\t \n\t} else {\n\t\tvariable.forecast = 0 \n\t\tvariable.forecast5 = 0\n\t\tvariable.forecast10 = 0\n\t\tvariable.forecast20 = 0\n\t\tvariable.forecast30 = 0\n\t}\n\n\t//variable.forwardBegin = candle.begin + (candle.end-candle.begin)* sLen * fLen\n\t//variable.forwardEnd = candle.end + (candle.end-candle.begin)* sLen * fLen\n\t// End of code :-)", "project": "Foundations", - "id": "26e3f95d-90b0-49ea-9608-96d51468be0d", + "id": "81b4741f-bc41-4794-aa0e-905e8b7255a1", "savedPayload": { "position": { "x": 17549.22846580797, @@ -9861,7 +9915,7 @@ "uiObject": {} } }, - "id": "d8ce9877-dc31-4d07-99bc-1405ab38290b", + "id": "55c2f2d2-cba5-4982-ad95-e49db744885d", "savedPayload": { "position": { "x": 17704.108245339063, @@ -9893,7 +9947,7 @@ "name": "New Procedure Javascript Code", "code": "/* Initialization Code*/\n\nvariable.lastClose = []\nvariable.S = []\nvariable.fY = []\nvariable.Errors = []\nvariable.lastClose2x = []", "project": "Foundations", - "id": "9b334b1b-fd9c-4661-862e-e39188504fca", + "id": "0aa495ad-75c5-41e6-9626-4e430dd2a32e", "savedPayload": { "position": { "x": 18106.172791430025, @@ -9914,7 +9968,7 @@ "uiObject": {} } }, - "id": "76d26014-f835-420b-8c6b-9b1f714112ad", + "id": "cf46a070-f231-4a62-bf13-8d17154416d0", "savedPayload": { "position": { "x": 18077.771256959633, @@ -9937,7 +9991,7 @@ } } }, - "id": "e347f174-5cd2-491d-97a6-7ef00f009e6c", + "id": "87f7828a-d9c2-48d7-944e-c3cd52ff8467", "savedPayload": { "position": { "x": 18013.867804401252, @@ -9960,7 +10014,7 @@ } } }, - "id": "0460eeb9-8782-4680-bee3-344da76bfcd5", + "id": "f860c54b-a9aa-43ee-9f80-9e08ea21c5d5", "savedPayload": { "position": { "x": 18223.96863187157, @@ -9984,12 +10038,12 @@ "referenceParent": { "type": "Plotter Module", "name": "Holt-Winters", - "id": "d454a398-da5f-46dd-907a-32b53605650f" + "id": "4db1ddf6-73fe-4497-ba93-62a7ab9baf8e" } } } ], - "id": "18aad57c-4a79-4116-88d3-0b7ede0b6901", + "id": "e328d289-6d1b-4248-ac52-0b97c7cbe0cc", "savedPayload": { "position": { "x": 18639.71442150165, @@ -10044,7 +10098,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.uptrend", "project": "Foundations", - "id": "2ce3f3a3-00ab-4c87-8446-b8a15a22c11d", + "id": "e09888cb-6173-499f-b26b-0e431b495649", "savedPayload": { "position": { "x": 18363.827498364175, @@ -10065,7 +10119,7 @@ "uiObject": {} } }, - "id": "bf3bc66e-d026-4c0e-8d20-bf76a9c1a47e", + "id": "e96e77b7-3b65-45c6-b4e6-db2aeaaab7c2", "savedPayload": { "position": { "x": 18026.790030384505, @@ -10097,7 +10151,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.uptrend", "project": "Foundations", - "id": "b8da0038-d3d7-4c08-97f0-1d8c1f61c0c9", + "id": "f99cd65a-c43b-4b3e-8472-724a8c3776e1", "savedPayload": { "position": { "x": 17931.65092834791, @@ -10118,7 +10172,7 @@ "uiObject": {} } }, - "id": "839ec05a-9380-4328-b2e7-08b648e01f16", + "id": "cec08ccf-c744-4e90-abde-520bae19ee36", "savedPayload": { "position": { "x": 17810.701745376373, @@ -10150,7 +10204,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.downtrend", "project": "Foundations", - "id": "35d0e84c-6b3b-4b08-8943-04e55eb10320", + "id": "b82d6ee3-472e-4f3c-8fc3-3aa2369c6f19", "savedPayload": { "position": { "x": 17165.179038421382, @@ -10171,7 +10225,7 @@ "uiObject": {} } }, - "id": "f82e17bc-ac9b-4016-9810-1fab151158c9", + "id": "333a0dfe-ad15-41db-b1db-13f97ff841ff", "savedPayload": { "position": { "x": 17427.46580041311, @@ -10203,7 +10257,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.downtrend", "project": "Foundations", - "id": "b666d450-71d3-46de-b288-b1112137b105", + "id": "d48185d1-5272-4fd8-ae50-d9a3d1913ecc", "savedPayload": { "position": { "x": 17123.649929041676, @@ -10224,7 +10278,7 @@ "uiObject": {} } }, - "id": "0f0e2ff5-730c-4d5d-b6d5-bfb08d25701d", + "id": "59b8f5a9-533c-4448-9f88-dade2d367b29", "savedPayload": { "position": { "x": 17406.701245723256, @@ -10248,7 +10302,7 @@ } } ], - "id": "e65908d4-5936-4738-9d0e-14946aa1fd0e", + "id": "cb90fc04-0fbc-44f7-9f9e-948b8131cb77", "savedPayload": { "position": { "x": 17689.752562404836, @@ -10286,7 +10340,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 2,\n \"lineDash\": [0,0],\n \"paletteColor\": \"UI_COLOR.GREEN\"\n }\n}", "project": "Foundations", - "id": "cf63008f-1a85-4dea-8332-b1fb97069639", + "id": "b4862bf5-d210-4ffe-8898-eaf8388ab01c", "savedPayload": { "position": { "x": 17649.544970339994, @@ -10318,7 +10372,7 @@ "name": "New Style", "config": "{\n \"opacity\": 0.0,\n \"lineWidth\": 0,\n \"lineDash\": [0,0],\n \"paletteColor\": \"UI_COLOR.RED\"\n}", "project": "Foundations", - "id": "85a8f19a-20bd-430e-bb06-f982ded754ab", + "id": "3e9b74a4-c9e3-4baa-a853-fe4a86e1dc4c", "savedPayload": { "position": { "x": 17273.11263365798, @@ -10339,7 +10393,7 @@ "uiObject": {} } }, - "id": "013272be-5338-448b-8150-b2d14fa1e34b", + "id": "4c55d973-6bb7-4ebe-8868-50ff030e00cf", "savedPayload": { "position": { "x": 17490.44594457302, @@ -10363,7 +10417,7 @@ } } ], - "id": "1c152fe5-dd5e-4b6a-83ee-94427f4de14e", + "id": "4fca59dc-f158-444c-ae4c-13f9da111df8", "savedPayload": { "position": { "x": 17707.77925548806, @@ -10391,7 +10445,7 @@ "type": "Polygon Vertex", "name": " UP Trend Begin", "project": "Foundations", - "id": "545e7550-eccb-4346-bb54-6a748d316e16", + "id": "e7e56556-8157-4d21-a09c-dad8059cab30", "savedPayload": { "position": { "x": 17416.878281255034, @@ -10413,7 +10467,7 @@ "referenceParent": { "type": "Point", "name": "UP Trend Begin", - "id": "bf3bc66e-d026-4c0e-8d20-bf76a9c1a47e" + "id": "e96e77b7-3b65-45c6-b4e6-db2aeaaab7c2" } } }, @@ -10421,7 +10475,7 @@ "type": "Polygon Vertex", "name": " UP Trend End", "project": "Foundations", - "id": "2f40b1e2-aa17-4fc0-866a-e0d7bfb4efbc", + "id": "76f5c3c1-478f-47e8-9cee-eafbb6cf1a36", "savedPayload": { "position": { "x": 17548.68022972109, @@ -10443,12 +10497,12 @@ "referenceParent": { "type": "Point", "name": "UP Trend End", - "id": "839ec05a-9380-4328-b2e7-08b648e01f16" + "id": "cec08ccf-c744-4e90-abde-520bae19ee36" } } } ], - "id": "44e7aded-bd81-4075-bf58-5b179c5bd5de", + "id": "c1f36ef7-ea85-49fd-9f3e-92089495bcbf", "savedPayload": { "position": { "x": 17279.88827029454, @@ -10484,7 +10538,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "60a0fcbe-61f7-442a-996a-61df65096cd2", + "id": "a0c28e85-f2d3-4093-bb2f-2212c39c5f1c", "savedPayload": { "position": { "x": 16874.955485103914, @@ -10516,7 +10570,7 @@ "name": "New Style", "config": "{\n \"opacity\": 0,\n \"lineWidth\": 0,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RED\"\n}", "project": "Foundations", - "id": "0b44d692-bd8d-4701-abc6-dd0d6022d9ad", + "id": "6d0557bf-7c31-4bc3-8a0d-8d2f1de5f7d4", "savedPayload": { "position": { "x": 16723.658374175553, @@ -10537,7 +10591,7 @@ "uiObject": {} } }, - "id": "cefc43f6-3696-4c7c-835d-155557636a2a", + "id": "aa82f0fd-913b-418d-9f7b-53ea786beb9c", "savedPayload": { "position": { "x": 16962.306912826014, @@ -10561,7 +10615,7 @@ } } ], - "id": "23b81810-e245-4904-ac21-cb242fcd55cf", + "id": "b73b4814-b64a-44db-9ed3-6391201d1d42", "savedPayload": { "position": { "x": 17200.955451476475, @@ -10589,7 +10643,7 @@ "type": "Polygon Vertex", "name": " Down Trend Begin", "project": "Foundations", - "id": "8757d6d2-e62d-44e1-ab3c-b31fb5fc0ffc", + "id": "973e0b79-e111-445a-a6c7-e5f8e13d6761", "savedPayload": { "position": { "x": 17189.455417849036, @@ -10611,7 +10665,7 @@ "referenceParent": { "type": "Point", "name": "Down Trend Begin", - "id": "f82e17bc-ac9b-4016-9810-1fab151158c9" + "id": "333a0dfe-ad15-41db-b1db-13f97ff841ff" } } }, @@ -10619,7 +10673,7 @@ "type": "Polygon Vertex", "name": " Down Trend End", "project": "Foundations", - "id": "afa90b4f-c1c8-4f64-ae42-6c00a5899b97", + "id": "fe94bef1-6d45-4c7d-b2ad-40ebb09e0fc8", "savedPayload": { "position": { "x": 17701.658273293237, @@ -10641,12 +10695,12 @@ "referenceParent": { "type": "Point", "name": "Down Trend End", - "id": "0f0e2ff5-730c-4d5d-b6d5-bfb08d25701d" + "id": "59b8f5a9-533c-4448-9f88-dade2d367b29" } } } ], - "id": "c466c586-df34-46a7-9e6a-c5e107d8acfa", + "id": "b919c3e5-af35-4a66-997b-b9c53d2d5a9c", "savedPayload": { "position": { "x": 17526.955417849036, @@ -10672,7 +10726,7 @@ ], "images": [], "texts": [], - "id": "30f370d7-06ba-4da4-89cc-9170ac051ac8", + "id": "ca7a0589-71d3-4895-a53f-83d205e6c351", "savedPayload": { "position": { "x": 17864.455417849036, @@ -10712,7 +10766,7 @@ "name": "Up Trend", "code": "record.uptrend", "project": "Foundations", - "id": "8f47e24a-a588-4df8-b2b0-f9c3d61de55f", + "id": "1882bdf2-b4bc-4a2d-9b0b-77d305945a5c", "savedPayload": { "position": { "x": 17666.040220007686, @@ -10738,7 +10792,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREEN\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "3fd28536-f64a-47fc-a179-05370e25de94", + "id": "48bb3025-2572-4fe1-9e4b-c50caf90df43", "savedPayload": { "position": { "x": 17768.72798197117, @@ -10759,7 +10813,7 @@ "uiObject": {} } }, - "id": "2cbd9c00-e22a-473c-be0c-89db23adbb15", + "id": "a2107456-1e0e-4a71-b77f-ee06a2ded6a4", "savedPayload": { "position": { "x": 17981.12361395049, @@ -10792,7 +10846,7 @@ "name": "New Data Formula", "code": "record.downtrend", "project": "Foundations", - "id": "d89ada35-eee5-48b8-88db-1da7f6488e51", + "id": "0933a721-6b43-4bd2-a408-1334057d96f3", "savedPayload": { "position": { "x": 17966.05793963292, @@ -10818,7 +10872,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "921f39ac-afe4-425b-a88f-60f9c82aa091", + "id": "59b2bcc0-3864-4e60-b8ad-7a94f678a3d3", "savedPayload": { "position": { "x": 18132.210228718497, @@ -10839,7 +10893,7 @@ "uiObject": {} } }, - "id": "5152de4d-23c4-4817-86e1-0a1768488d2c", + "id": "501a68bf-c89e-4f69-b3a7-1fdf0ed30658", "savedPayload": { "position": { "x": 18149.87361395049, @@ -10872,7 +10926,7 @@ "name": "New Data Formula", "code": "record.trend", "project": "Foundations", - "id": "7a5e103c-fe58-4307-b30d-4758c0b5e02e", + "id": "feaa164d-c2c9-4a69-aca5-6916f6810033", "savedPayload": { "position": { "x": 18376.123470385573, @@ -10898,7 +10952,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "c46db462-7f1d-4287-ad67-fee5d49dd9c9", + "id": "900c2961-0817-4f40-bb2c-9411d878d8aa", "savedPayload": { "position": { "x": 18542.27575947115, @@ -10919,7 +10973,7 @@ "uiObject": {} } }, - "id": "dab2f429-bce0-485c-a3bf-0ab949f9f959", + "id": "b0ef4504-e9eb-4590-80bb-b4b01958d254", "savedPayload": { "position": { "x": 18358.46008515358, @@ -10952,7 +11006,7 @@ "name": "New Data Formula", "code": "record.atrNPeriod", "project": "Foundations", - "id": "dfbd73aa-2f60-48aa-98be-251aeb806282", + "id": "23f6cdcb-c559-492b-8737-75f7aed151fe", "savedPayload": { "position": { "x": 18595.84689367262, @@ -10978,7 +11032,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "9baab597-bd7e-46b6-8140-55382e6642e3", + "id": "f8aaaa94-eae3-4bb3-a00a-f5db530a03ea", "savedPayload": { "position": { "x": 18695.035654996977, @@ -10999,7 +11053,7 @@ "uiObject": {} } }, - "id": "8574510d-fa36-430e-9fc7-08843ea23af4", + "id": "8f790287-0959-4831-832b-4a1403819f30", "savedPayload": { "position": { "x": 18527.21008515358, @@ -11023,7 +11077,7 @@ } } ], - "id": "84152c1c-5968-4391-91d5-d2ac748749b8", + "id": "3eeb1baf-1b9e-4da9-bea1-600ed3b6eb96", "savedPayload": { "position": { "x": 18254.166849552035, @@ -11047,7 +11101,7 @@ } } ], - "id": "b55c01eb-a3ad-4c28-8235-6921c8e809c0", + "id": "0ff6e923-810a-4e42-8869-5061e57b91d5", "savedPayload": { "position": { "x": 18254.166849552035, @@ -11071,7 +11125,7 @@ } } ], - "id": "30282094-4319-419d-84cc-4fcaf1e2b24b", + "id": "8596f9a8-9c62-4b5c-a792-ada3705c37f1", "savedPayload": { "position": { "x": 18635.878281255034, @@ -11124,7 +11178,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.uptrend", "project": "Foundations", - "id": "5f8f746a-6e09-4c38-b5df-f8ca5fc4d768", + "id": "fa487379-4129-44ef-8d86-9b8f416c5ca0", "savedPayload": { "position": { "x": 18011.633165605854, @@ -11145,7 +11199,7 @@ "uiObject": {} } }, - "id": "a2a5f234-940c-4cee-ad5b-6728a5259fd5", + "id": "9f61b87d-187e-4aac-b46c-3ec777a74715", "savedPayload": { "position": { "x": 17811.15669766347, @@ -11177,7 +11231,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.uptrend", "project": "Foundations", - "id": "2331c8ba-9f13-4702-86cd-515e9f3c5912", + "id": "d43c251f-aa8e-4129-85c9-3f4047b821d3", "savedPayload": { "position": { "x": 17540.284720452983, @@ -11198,7 +11252,7 @@ "uiObject": {} } }, - "id": "c87645c9-c188-40cf-a55b-6e02c6a45e8d", + "id": "9c1d7730-aca8-4ca1-88a6-d469bf09bd3b", "savedPayload": { "position": { "x": 17575.482475087036, @@ -11230,7 +11284,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.downtrend", "project": "Foundations", - "id": "3c743af3-ebfb-48f4-b477-9c71dfd54654", + "id": "65250b4c-d312-4f54-90f8-21cb0c783ec8", "savedPayload": { "position": { "x": 17166.22047645328, @@ -11251,7 +11305,7 @@ "uiObject": {} } }, - "id": "1dc75d1b-ee60-4f82-92fb-82a70cd0af46", + "id": "fcfde473-ec3f-4e69-80a6-a25bc425db5f", "savedPayload": { "position": { "x": 17388.450353087184, @@ -11283,7 +11337,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.downtrend", "project": "Foundations", - "id": "bd83e6ac-6a66-4dc8-b3d3-7761d0e16325", + "id": "6f6e4c6a-8d8b-41ba-bdd4-d97b30fab638", "savedPayload": { "position": { "x": 17406.384504838294, @@ -11304,7 +11358,7 @@ "uiObject": {} } }, - "id": "0ebfebc3-4213-402e-a839-8cc147a9ba5c", + "id": "bc54e546-2a65-45c6-aa63-2ba876a2bd1b", "savedPayload": { "position": { "x": 17508.53236727969, @@ -11328,7 +11382,7 @@ } } ], - "id": "79d2d5cc-c425-44c3-add6-39209a0e9f3a", + "id": "9b672747-79fc-45ed-8e24-d8793cbb3d92", "savedPayload": { "position": { "x": 17610.68022972109, @@ -11366,7 +11420,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 2,\n \"lineDash\": [0,0],\n \"paletteColor\": \"UI_COLOR.GREEN\"\n }\n}", "project": "Foundations", - "id": "8784cd0e-630e-47f0-aa11-c6bdbcbbf868", + "id": "7b5fea92-d730-4233-bafe-32eab4be5733", "savedPayload": { "position": { "x": 17649.544970339994, @@ -11398,7 +11452,7 @@ "name": "New Style", "config": "{\n \"opacity\": 0.0,\n \"lineWidth\": 0,\n \"lineDash\": [0,0],\n \"paletteColor\": \"UI_COLOR.RED\"\n}", "project": "Foundations", - "id": "ae9d0a76-1f6d-4eab-94ac-190e02f6bf20", + "id": "21300f70-0596-4456-9dbe-094e2608c7ca", "savedPayload": { "position": { "x": 17273.11263365798, @@ -11419,7 +11473,7 @@ "uiObject": {} } }, - "id": "c7e14dd8-7e90-4ef4-94f4-62122136a553", + "id": "8098d15a-9ac8-495b-a058-d62997615be4", "savedPayload": { "position": { "x": 17490.44594457302, @@ -11443,7 +11497,7 @@ } } ], - "id": "5692530c-c6f8-43fb-bc21-315278915cd4", + "id": "5a57e18d-6b0e-4401-b13a-d03c21de1dbe", "savedPayload": { "position": { "x": 18303.77925548806, @@ -11471,7 +11525,7 @@ "type": "Polygon Vertex", "name": " UP Trend Begin", "project": "Foundations", - "id": "1614756f-3e9a-4e36-bd5e-2cd4a6ec080f", + "id": "cb2dcb24-c935-4050-bb79-1bfe761c01a1", "savedPayload": { "position": { "x": 18012.878281255034, @@ -11493,7 +11547,7 @@ "referenceParent": { "type": "Point", "name": "UP Trend Begin", - "id": "a2a5f234-940c-4cee-ad5b-6728a5259fd5" + "id": "9f61b87d-187e-4aac-b46c-3ec777a74715" } } }, @@ -11501,7 +11555,7 @@ "type": "Polygon Vertex", "name": " UP Trend End", "project": "Foundations", - "id": "96959911-cccf-45db-a27b-412b69ed6514", + "id": "b7c819d3-ebce-407b-8fa6-0d9556f1bc16", "savedPayload": { "position": { "x": 18144.68022972109, @@ -11523,12 +11577,12 @@ "referenceParent": { "type": "Point", "name": "UP Trend End", - "id": "c87645c9-c188-40cf-a55b-6e02c6a45e8d" + "id": "9c1d7730-aca8-4ca1-88a6-d469bf09bd3b" } } } ], - "id": "8e4f5ecd-6447-4f5a-95e5-042bdfb9073b", + "id": "120f55f8-bbe0-4643-a7e7-8d226f32f7b7", "savedPayload": { "position": { "x": 17866.878281255034, @@ -11564,7 +11618,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "03312f48-f296-41a5-bf2f-a3f9c11a5246", + "id": "0b8223cc-51fd-43a7-8194-3de4ce6efe2f", "savedPayload": { "position": { "x": 17940.44594457302, @@ -11596,7 +11650,7 @@ "name": "New Style", "config": "{\n \"opacity\": 0,\n \"lineWidth\": 0,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RED\"\n}", "project": "Foundations", - "id": "cfbfe131-adeb-40af-b879-47362ec4c42b", + "id": "d837b9ac-153d-4c7c-9eae-6387ce86d2ba", "savedPayload": { "position": { "x": 18041.310685191926, @@ -11617,7 +11671,7 @@ "uiObject": {} } }, - "id": "8fc2c53e-2ba6-40bc-93e1-de810fbf7749", + "id": "1cffcbaa-d143-461a-9773-8c2213a1a0e8", "savedPayload": { "position": { "x": 18099.544970339994, @@ -11641,7 +11695,7 @@ } } ], - "id": "de0cf25e-7768-45a6-8f27-848892605f24", + "id": "1a0f52a9-53ca-4683-99c1-88ff5626953f", "savedPayload": { "position": { "x": 18157.77925548806, @@ -11669,7 +11723,7 @@ "type": "Polygon Vertex", "name": " Down Trend Begin", "project": "Foundations", - "id": "b5f81292-3772-4d96-83e8-b4a561d47e9b", + "id": "fe712fd9-f82b-41a8-90f2-0cdff013e966", "savedPayload": { "position": { "x": 18316.878281255034, @@ -11691,7 +11745,7 @@ "referenceParent": { "type": "Point", "name": "Down Trend Begin", - "id": "1dc75d1b-ee60-4f82-92fb-82a70cd0af46" + "id": "fcfde473-ec3f-4e69-80a6-a25bc425db5f" } } }, @@ -11699,7 +11753,7 @@ "type": "Polygon Vertex", "name": " Down Trend End", "project": "Foundations", - "id": "977408ad-0c63-4352-9d7a-9b1ca3eb6ae7", + "id": "540d6ae1-c71a-4dfd-955a-adc303174b5a", "savedPayload": { "position": { "x": 18635.07633278898, @@ -11721,12 +11775,12 @@ "referenceParent": { "type": "Point", "name": "Down Trend End", - "id": "0ebfebc3-4213-402e-a839-8cc147a9ba5c" + "id": "bc54e546-2a65-45c6-aa63-2ba876a2bd1b" } } } ], - "id": "e82278f6-e50c-4bc5-a943-8295aaea4467", + "id": "5f36d460-e32e-441a-b16c-b5bda101c397", "savedPayload": { "position": { "x": 18316.878281255034, @@ -11752,7 +11806,7 @@ ], "images": [], "texts": [], - "id": "08bb0ee2-34c2-44ec-aacf-1de9dc55576f", + "id": "507753d2-fb61-4c73-93e2-3dcb95da2d04", "savedPayload": { "position": { "x": 18316.878281255034, @@ -11792,7 +11846,7 @@ "name": "Up Trend", "code": "record.uptrend", "project": "Foundations", - "id": "b439fd46-3b13-4ad9-8975-07ca124f5d92", + "id": "8c062409-17a1-4b56-ad1b-c3edec0f7675", "savedPayload": { "position": { "x": 18608.765448576763, @@ -11818,7 +11872,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREEN\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "dc277659-3f67-4807-a005-a33248bee7c8", + "id": "a924e403-37e4-4662-875f-cffc0b5c6244", "savedPayload": { "position": { "x": 18715.164781928925, @@ -11839,7 +11893,7 @@ "uiObject": {} } }, - "id": "b0b518e2-3cd6-43ba-8c8a-0b18e6caa801", + "id": "f50788f1-5ef4-43b1-9a07-2657623e94ae", "savedPayload": { "position": { "x": 18750.362536562978, @@ -11872,7 +11926,7 @@ "name": "New Data Formula", "code": "record.downtrend", "project": "Foundations", - "id": "1a2b18fb-2480-412c-b84d-8f9391be87b1", + "id": "749c1000-7beb-4ce7-9655-b9d352c79a69", "savedPayload": { "position": { "x": 18876.882821534367, @@ -11898,7 +11952,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "5e759576-b386-4016-bf51-9d3ad0540c33", + "id": "74f8c46a-a412-4776-a9b0-654aef684d9e", "savedPayload": { "position": { "x": 18990.806274130427, @@ -11919,7 +11973,7 @@ "uiObject": {} } }, - "id": "297da799-e2fb-4fec-8cfc-c85610b24656", + "id": "0c061672-9f32-4e0a-b537-d2f626366bab", "savedPayload": { "position": { "x": 18888.65841168903, @@ -11952,7 +12006,7 @@ "name": "New Data Formula", "code": "record.trend", "project": "Foundations", - "id": "54253366-ef51-4890-a530-7365c74746ed", + "id": "5cb1d9fa-4c2d-48d6-82ca-6fb6b4671f0a", "savedPayload": { "position": { "x": 19131.629649865827, @@ -11978,7 +12032,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "f387fa29-1ef0-4f52-8c8d-87b419f98c61", + "id": "51e7a795-5bba-43a1-8dd4-2a6e7e28e3b7", "savedPayload": { "position": { "x": 19209.56233492983, @@ -11999,7 +12053,7 @@ "uiObject": {} } }, - "id": "632ae61a-addf-4f96-91be-46e133de84e2", + "id": "de52a759-daa9-4c20-b8bd-a28e86cf2d2e", "savedPayload": { "position": { "x": 19009.085866987447, @@ -12032,7 +12086,7 @@ "name": "New Data Formula", "code": "record.atrNPeriod", "project": "Foundations", - "id": "08b7d463-5757-4620-81da-04981211dbf5", + "id": "2d00480d-3f98-4761-ad5c-429403e13527", "savedPayload": { "position": { "x": 19156.660119580076, @@ -12058,7 +12112,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "45035c80-8e20-4928-8bc5-e92b59c00abc", + "id": "b056943c-7f0c-43e7-b22b-1b157a5fea84", "savedPayload": { "position": { "x": 19168.419571697686, @@ -12079,7 +12133,7 @@ "uiObject": {} } }, - "id": "f637c45d-0557-4de1-bb13-099663449f47", + "id": "9f2c9b41-8a25-40da-a3fd-1009e09459be", "savedPayload": { "position": { "x": 19065.645707712894, @@ -12103,7 +12157,7 @@ } } ], - "id": "233bff3f-0c91-4246-b6d4-1c57f89b48e4", + "id": "54700030-ca6b-42cb-aad0-4518b0934b0a", "savedPayload": { "position": { "x": 18841.878281255034, @@ -12127,7 +12181,7 @@ } } ], - "id": "f44e4e81-5a61-43b1-bc91-ab12f4fbe711", + "id": "82873f57-4144-476a-ac02-33535b230251", "savedPayload": { "position": { "x": 18616.878281255034, @@ -12151,7 +12205,7 @@ } } ], - "id": "734eed55-feb5-48ec-bb5c-b632523414a1", + "id": "035a98d1-0e5b-4055-92fc-92803d030eb0", "savedPayload": { "position": { "x": 18639.71442150165, @@ -12204,15 +12258,15 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.FastTrend", "project": "Foundations", - "id": "bc83a2d2-20e0-4649-bd3a-991a592d2b6f", + "id": "75e98f79-4c70-4b15-a3a1-2f75937da422", "savedPayload": { "position": { - "x": 18397.26303898437, - "y": 9742.802375894946 + "x": 18053.454819837556, + "y": 10112.225837312422 }, "targetPosition": { - "x": 18397.26303898437, - "y": 9442.802375894946 + "x": 17841.322785481592, + "y": 9900.093802956459 }, "floatingObject": { "isPinned": false, @@ -12225,20 +12279,20 @@ "uiObject": {} } }, - "id": "1c216f28-2447-4264-b9d7-e555bdd35e62", + "id": "bb0f58a4-125e-4eeb-b210-f70629bc4431", "savedPayload": { "position": { - "x": 18397.26303898437, - "y": 9442.802375894946 + "x": 17841.322785481592, + "y": 9900.093802956459 }, "targetPosition": { - "x": 18397.26303898437, - "y": 9142.802375894946 + "x": 18125.19075112563, + "y": 9685.961768600495 }, "floatingObject": { - "isPinned": false, + "isPinned": true, "isFrozen": false, - "isCollapsed": false, + "isCollapsed": true, "angleToParent": 1, "distanceToParent": 3, "arrangementStyle": 0 @@ -12257,15 +12311,15 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.FastTrend", "project": "Foundations", - "id": "aa5a1a84-dadd-4426-8217-e4fa4d0c8000", + "id": "847e9662-ddc1-479f-b936-f6e85ae37879", "savedPayload": { "position": { - "x": 17877.647796713703, - "y": 8842.802375894946 + "x": 17545.635255352187, + "y": 9841.253195662006 }, "targetPosition": { - "x": 18137.455417849036, - "y": 8992.802375894946 + "x": 17835.413003238908, + "y": 9763.60748213125 }, "floatingObject": { "isPinned": false, @@ -12278,15 +12332,15 @@ "uiObject": {} } }, - "id": "225256b6-4f21-432f-9bd8-0679e4983204", + "id": "575d8cfa-09a8-44c3-964c-5e6ba5601c2a", "savedPayload": { "position": { - "x": 18137.455417849036, - "y": 8992.802375894946 + "x": 17835.413003238908, + "y": 9763.60748213125 }, "targetPosition": { - "x": 18397.26303898437, - "y": 9142.802375894946 + "x": 18125.19075112563, + "y": 9685.961768600495 }, "floatingObject": { "isPinned": false, @@ -12302,15 +12356,15 @@ } } ], - "id": "07b490ac-bf5e-4ffb-a866-ead3fe34132e", + "id": "38701b47-f365-4c34-ab10-b973323204b0", "savedPayload": { "position": { - "x": 18393.26303898437, - "y": 9142.802375894946 + "x": 18125.19075112563, + "y": 9685.961768600495 }, "targetPosition": { - "x": 18653.0706601197, - "y": 8992.802375894946 + "x": 18202.836464656386, + "y": 9396.184020713774 }, "floatingObject": { "isPinned": false, @@ -12338,17 +12392,17 @@ "style": { "type": "Style", "name": "New Style", - "config": "{\n \"default\": {\n \"opacity\": 0.5,\n \"lineWidth\": 3,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.BLACK\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", + "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 3,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.TRUE_GREEN\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "ab2f14c6-53d0-4acc-b494-849d41998a0f", + "id": "246731cd-753f-4ab6-a6d8-5b6993da485d", "savedPayload": { "position": { - "x": 19704.994775024854, - "y": 8509.278573222435 + "x": 17276.662613701774, + "y": 9530.670341538982 }, "targetPosition": { - "x": 19663.242844736833, - "y": 8806.358993844906 + "x": 17778.57239594446, + "y": 9396.184020713774 }, "floatingObject": { "isPinned": false, @@ -12361,21 +12415,76 @@ "uiObject": {} } }, - "styleConditions": [], - "id": "f8480ad3-e69a-4f30-a8b1-9999374e1094", + "styleConditions": [ + { + "type": "Style Condition", + "name": "New Style Condition", + "code": "record.FastTrend < 0", + "project": "Foundations", + "style": { + "type": "Style", + "name": "New Style", + "config": "{\n \"opacity\": 1,\n \"lineWidth\": 3,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.TRUE_RED\"\n}", + "project": "Foundations", + "id": "9503ca25-73f1-438f-b1d1-e7666acf2b16", + "savedPayload": { + "position": { + "x": 17354.30832723253, + "y": 9820.448089425703 + }, + "targetPosition": { + "x": 17644.086075119252, + "y": 9898.093802956459 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 1 + }, + "uiObject": {} + } + }, + "id": "a7441a7d-f62d-40ee-8902-34d62241d1ad", + "savedPayload": { + "position": { + "x": 17644.086075119252, + "y": 9898.093802956459 + }, + "targetPosition": { + "x": 17778.57239594446, + "y": 9396.184020713774 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 1 + }, + "uiObject": { + "isRunning": false + } + } + } + ], + "id": "e98d52b6-ecae-4469-86c5-19829656dcc3", "savedPayload": { "position": { - "x": 18357.0706601197, - "y": 8692.802375894946 + "x": 17778.57239594446, + "y": 9396.184020713774 }, "targetPosition": { - "x": 18657.0706601197, - "y": 8692.802375894946 + "x": 17990.704430300422, + "y": 9184.05198635781 }, "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": true, + "isCollapsed": false, "angleToParent": 1, "distanceToParent": 3, "arrangementStyle": 0 @@ -12390,15 +12499,15 @@ "type": "Polygon Vertex", "name": " FastTrend End", "project": "Foundations", - "id": "d544b921-0043-43f9-937b-9ac9f68a3b91", + "id": "43921323-87ce-4447-b28e-341e97a7d6fd", "savedPayload": { "position": { - "x": 18657.0706601197, - "y": 8392.802375894946 + "x": 17778.57239594446, + "y": 8971.919952001846 }, "targetPosition": { - "x": 18657.0706601197, - "y": 8692.802375894946 + "x": 17990.704430300422, + "y": 9184.05198635781 }, "floatingObject": { "isPinned": false, @@ -12412,7 +12521,7 @@ "referenceParent": { "type": "Point", "name": "FastTrend End", - "id": "225256b6-4f21-432f-9bd8-0679e4983204" + "id": "575d8cfa-09a8-44c3-964c-5e6ba5601c2a" } } }, @@ -12420,15 +12529,15 @@ "type": "Polygon Vertex", "name": " FastTrend Begin", "project": "Foundations", - "id": "789fdf0e-fc9c-4599-a38e-e0f3c5cf3cb6", + "id": "6e1be882-8b6f-407a-9752-b66f5dbffc13", "savedPayload": { "position": { - "x": 18957.0706601197, - "y": 8692.802375894946 + "x": 18202.836464656386, + "y": 8971.919952001846 }, "targetPosition": { - "x": 18657.0706601197, - "y": 8692.802375894946 + "x": 17990.704430300422, + "y": 9184.05198635781 }, "floatingObject": { "isPinned": false, @@ -12442,25 +12551,25 @@ "referenceParent": { "type": "Point", "name": "FastTrend Begin", - "id": "1c216f28-2447-4264-b9d7-e555bdd35e62" + "id": "bb0f58a4-125e-4eeb-b210-f70629bc4431" } } } ], - "id": "13f188d9-0cb8-46fd-9664-c2eff9757608", + "id": "861a9715-2841-4691-bad0-4382361e7c95", "savedPayload": { "position": { - "x": 18653.0706601197, - "y": 8692.802375894946 + "x": 17990.704430300422, + "y": 9184.05198635781 }, "targetPosition": { - "x": 18653.0706601197, - "y": 8992.802375894946 + "x": 18202.836464656386, + "y": 9396.184020713774 }, "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": true, + "isCollapsed": false, "angleToParent": 1, "distanceToParent": 3, "arrangementStyle": 0 @@ -12473,15 +12582,15 @@ ], "images": [], "texts": [], - "id": "0c1bb944-f463-4219-bf0f-8fc0dacf8860", + "id": "bff7855d-d605-4bc1-9ee3-a6cddabcbc0c", "savedPayload": { "position": { - "x": 18653.0706601197, - "y": 8992.802375894946 + "x": 18202.836464656386, + "y": 9396.184020713774 }, "targetPosition": { - "x": 18912.878281255034, - "y": 9142.802375894946 + "x": 18492.614212543107, + "y": 9318.538307183018 }, "floatingObject": { "isPinned": false, @@ -12513,15 +12622,15 @@ "name": "New Data Formula", "code": "record.NegativeDisorder", "project": "Foundations", - "id": "ce1a2af9-b1a1-4e7d-abcb-af15d2a60550", + "id": "36866868-d370-41d7-ae9a-a2bcdd90ba62", "savedPayload": { "position": { - "x": 19048.04229596627, - "y": 8723.645580339902 + "x": 18134.47391572563, + "y": 9311.76330342569 }, "targetPosition": { - "x": 19333.359250854814, - "y": 8816.350678652387 + "x": 18270.671065647493, + "y": 9044.46134616918 }, "floatingObject": { "isPinned": false, @@ -12539,15 +12648,15 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "51f3beca-03ae-4683-ae2c-41808d6f1523", + "id": "948412d1-0912-43e5-927a-37df319fc49d", "savedPayload": { "position": { - "x": 19556.30269849803, - "y": 8615.611496744728 + "x": 18107.279355142986, + "y": 8792.860175785554 }, "targetPosition": { - "x": 19333.359250854814, - "y": 8816.350678652387 + "x": 18270.671065647493, + "y": 9044.46134616918 }, "floatingObject": { "isPinned": false, @@ -12560,15 +12669,15 @@ "uiObject": {} } }, - "id": "9616f0c2-7302-4ea3-ab78-7870a68d6917", + "id": "550caef0-73af-46a6-93e0-b2ba2d61fcc4", "savedPayload": { "position": { - "x": 19333.359250854814, - "y": 8816.350678652387 + "x": 18270.671065647493, + "y": 9044.46134616918 }, "targetPosition": { - "x": 19395.73275810014, - "y": 9109.794958872528 + "x": 18570.259926073864, + "y": 9028.760559296297 }, "floatingObject": { "isPinned": false, @@ -12593,15 +12702,15 @@ "name": "New Data Formula", "code": "record.PositiveDisorder", "project": "Foundations", - "id": "8371caed-676e-4fe9-adf2-1e72b20245af", + "id": "fd55c4f6-ce30-48df-9b76-40281b6bb358", "savedPayload": { "position": { - "x": 19781.882136632765, - "y": 8762.104496738655 + "x": 18166.443039031732, + "y": 8701.756091835066 }, "targetPosition": { - "x": 19689.177038320282, - "y": 9047.4214516272 + "x": 18462.749541210273, + "y": 8748.686431347136 }, "floatingObject": { "isPinned": false, @@ -12619,15 +12728,15 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "aa556916-2eef-4ca5-b248-db43dfa63728", + "id": "770367fa-54e3-402b-8ad1-450c9273b19c", "savedPayload": { "position": { - "x": 19889.91622022794, - "y": 9270.364899270418 + "x": 18651.545658525225, + "y": 8515.542642910044 }, "targetPosition": { - "x": 19689.177038320282, - "y": 9047.4214516272 + "x": 18462.749541210273, + "y": 8748.686431347136 }, "floatingObject": { "isPinned": false, @@ -12640,15 +12749,15 @@ "uiObject": {} } }, - "id": "e1729314-7c2a-4da9-9eaf-5c3a85f08746", + "id": "0b62cebe-b1c4-49e5-894f-784296c350fd", "savedPayload": { "position": { - "x": 19689.177038320282, - "y": 9047.4214516272 + "x": 18462.749541210273, + "y": 8748.686431347136 }, "targetPosition": { - "x": 19395.73275810014, - "y": 9109.794958872528 + "x": 18570.259926073864, + "y": 9028.760559296297 }, "floatingObject": { "isPinned": false, @@ -12673,15 +12782,15 @@ "name": "New Data Formula", "code": "record.FastTrend", "project": "Foundations", - "id": "468861d7-6a5a-4f02-a1a2-fd5f91c828dc", + "id": "5a485abd-1787-4e3e-8a2c-920b19b0d5d3", "savedPayload": { "position": { - "x": 19743.423220234014, - "y": 9495.944337405153 + "x": 18756.473374998885, + "y": 8543.657939802806 }, "targetPosition": { - "x": 19458.10626534547, - "y": 9403.239239092669 + "x": 18803.403714510954, + "y": 8839.964441981347 }, "floatingObject": { "isPinned": false, @@ -12699,15 +12808,15 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "fac066ca-636d-492a-8dab-bd2213b3b03a", + "id": "34776486-db5b-4c4d-921f-5fe69a6e37b1", "savedPayload": { "position": { - "x": 19235.16281770225, - "y": 9603.978421000327 + "x": 19083.477842460114, + "y": 8947.474826844937 }, "targetPosition": { - "x": 19458.10626534547, - "y": 9403.239239092669 + "x": 18803.403714510954, + "y": 8839.964441981347 }, "floatingObject": { "isPinned": false, @@ -12720,15 +12829,95 @@ "uiObject": {} } }, - "id": "37f65697-e0b3-48e6-8496-6a99c75b19d2", + "id": "60ff5eee-acef-4ee0-9aae-77ac62b9dd3d", "savedPayload": { "position": { - "x": 19458.10626534547, - "y": 9403.239239092669 + "x": 18803.403714510954, + "y": 8839.964441981347 }, "targetPosition": { - "x": 19395.73275810014, - "y": 9109.794958872528 + "x": 18570.259926073864, + "y": 9028.760559296297 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": { + "isRunning": false + } + } + }, + { + "type": "Panel Data", + "name": "Intermediate Trend", + "config": "{\n \"valueDecimals\": 0\n}", + "project": "Foundations", + "dataFormula": { + "type": "Data Formula", + "name": "New Data Formula", + "code": "record.intertrend", + "project": "Foundations", + "id": "9f6953de-e998-45da-9149-0d8f90d611ee", + "savedPayload": { + "position": { + "x": 19089.163053714, + "y": 9055.955119878941 + }, + "targetPosition": { + "x": 18821.86109645749, + "y": 9192.152269800805 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "textStyle": { + "type": "Text Style", + "name": "New Text Style", + "config": "{\n \"paletteColor\": \"UI_COLOR.BLACK\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", + "project": "Foundations", + "id": "a7a62c11-35b2-46d3-9bb9-5f7a7ff35d11", + "savedPayload": { + "position": { + "x": 18806.160309584608, + "y": 9491.741130227178 + }, + "targetPosition": { + "x": 18821.86109645749, + "y": 9192.152269800805 + }, + "floatingObject": { + "isPinned": false, + "isFrozen": false, + "isCollapsed": false, + "angleToParent": 1, + "distanceToParent": 3, + "arrangementStyle": 0 + }, + "uiObject": {} + } + }, + "id": "710a2192-fadb-48b8-a200-8b439d30d82a", + "savedPayload": { + "position": { + "x": 18821.86109645749, + "y": 9192.152269800805 + }, + "targetPosition": { + "x": 18570.259926073864, + "y": 9028.760559296297 }, "floatingObject": { "isPinned": false, @@ -12744,15 +12933,15 @@ } } ], - "id": "9a1e9e36-a36d-469c-8522-717bf90d1f63", + "id": "ebea9c2a-c25a-4bfb-9b6f-25e7b49b8cf5", "savedPayload": { "position": { - "x": 19172.685902390367, - "y": 8992.802375894946 + "x": 18570.259926073864, + "y": 9028.760559296297 }, "targetPosition": { - "x": 18912.878281255034, - "y": 9142.802375894946 + "x": 18492.614212543107, + "y": 9318.538307183018 }, "floatingObject": { "isPinned": false, @@ -12768,20 +12957,20 @@ } } ], - "id": "4a8d48bd-4d79-4d93-81d4-8f067794b5a1", + "id": "fc9af99b-c82f-4833-8b47-647fc277e4b4", "savedPayload": { "position": { - "x": 18912.878281255034, - "y": 9142.802375894946 + "x": 18492.614212543107, + "y": 9318.538307183018 }, "targetPosition": { - "x": 18912.878281255034, - "y": 9442.802375894946 + "x": 18704.74624689907, + "y": 9530.670341538982 }, "floatingObject": { "isPinned": false, "isFrozen": false, - "isCollapsed": false, + "isCollapsed": true, "angleToParent": 1, "distanceToParent": 3, "arrangementStyle": 0 @@ -12792,7 +12981,7 @@ } } ], - "id": "b0d7e5af-43ab-427e-8589-a4adc424aab1", + "id": "2f1eacc6-7f67-42f2-93a4-1d99e7cedcf5", "savedPayload": { "position": { "x": 18704.74624689907, @@ -12845,7 +13034,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.VolumeEnergy", "project": "Foundations", - "id": "db3de364-387c-4e3b-8f89-ad8509757460", + "id": "30eac870-e159-4e2a-b36f-dedda1225bc8", "savedPayload": { "position": { "x": 18436.81639414028, @@ -12866,7 +13055,7 @@ "uiObject": {} } }, - "id": "786940c3-96c9-42fc-8f35-fed20c43706d", + "id": "d288501b-7d83-41b7-a71f-a9dfb95ddc8a", "savedPayload": { "position": { "x": 18322.011364430753, @@ -12898,7 +13087,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.VolumeEnergy", "project": "Foundations", - "id": "0a21584f-a8e9-448e-b3b2-5d6e2a028413", + "id": "d711c86e-f803-48f0-bb71-0af905b83432", "savedPayload": { "position": { "x": 17612.33941789694, @@ -12919,7 +13108,7 @@ "uiObject": {} } }, - "id": "5509de7a-1a44-4828-bc36-44f055f47053", + "id": "0c83094c-7572-42d7-aaf2-3c74402cd7b3", "savedPayload": { "position": { "x": 17909.77287630908, @@ -12943,7 +13132,7 @@ } } ], - "id": "cde7b62e-7828-4a5d-b5d9-dd39414df95f", + "id": "355d95ba-92e7-4fbd-a7dd-4aa5c4e68323", "savedPayload": { "position": { "x": 18207.206334721224, @@ -12981,7 +13170,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 0.2,\n \"lineWidth\": 1,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.DARK_TURQUOISE\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "9a51fcbf-8f2d-4fde-8fe8-f210262bb91d", + "id": "a0bbfac0-0f1e-42e6-9d14-216a9767a08c", "savedPayload": { "position": { "x": 17720.702014207545, @@ -13003,7 +13192,7 @@ } }, "styleConditions": [], - "id": "df590466-f387-478d-9b6e-637f7bd90526", + "id": "a8e85b2a-bdbc-4ebd-93e4-cc5d4aa308f8", "savedPayload": { "position": { "x": 17997.86587396093, @@ -13031,7 +13220,7 @@ "type": "Polygon Vertex", "name": " DiffEnergy End", "project": "Foundations", - "id": "b7ede262-2f0a-479c-910b-fde9f5cf219e", + "id": "7ce92e24-f9e7-43c8-97bc-d1ea6d7aa208", "savedPayload": { "position": { "x": 18160.22470400479, @@ -13053,7 +13242,7 @@ "referenceParent": { "type": "Point", "name": "DiffEnergy End", - "id": "5509de7a-1a44-4828-bc36-44f055f47053" + "id": "0c83094c-7572-42d7-aaf2-3c74402cd7b3" } } }, @@ -13061,7 +13250,7 @@ "type": "Polygon Vertex", "name": " DiffEnergy Begin", "project": "Foundations", - "id": "ab2be3c9-4324-4449-b848-a79a76560ef7", + "id": "2ec845d5-806d-4c95-9045-14b422238f2d", "savedPayload": { "position": { "x": 18552.193593467702, @@ -13083,12 +13272,12 @@ "referenceParent": { "type": "Point", "name": "DiffEnergy Begin", - "id": "786940c3-96c9-42fc-8f35-fed20c43706d" + "id": "d288501b-7d83-41b7-a71f-a9dfb95ddc8a" } } } ], - "id": "a09a49f3-c66e-48dc-a0a7-ceab2a70728c", + "id": "5c54b91b-560c-49b8-a0be-0c8e5bb09c4a", "savedPayload": { "position": { "x": 18275.029733714317, @@ -13114,7 +13303,7 @@ ], "images": [], "texts": [], - "id": "f643f97c-3710-4d0a-ba61-6a3c9807147e", + "id": "f3d9d65a-c788-4b3b-9465-182397ee9742", "savedPayload": { "position": { "x": 18389.83476342384, @@ -13154,7 +13343,7 @@ "name": "New Data Formula", "code": "record.VolumeEnergy", "project": "Foundations", - "id": "28710f41-8238-4c45-ae73-435ce3445c85", + "id": "727e40ca-1238-4ae0-bdf2-9b1b6bfe2db7", "savedPayload": { "position": { "x": 18937.720049531694, @@ -13180,7 +13369,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "1db380f0-19c0-48db-9637-50f29c0d67fc", + "id": "4a27cc61-5b6a-4a58-aba6-1990204d6bce", "savedPayload": { "position": { "x": 19349.95853765336, @@ -13201,7 +13390,7 @@ "uiObject": {} } }, - "id": "5aef15b8-43cc-4eee-a3b5-92321f9fef64", + "id": "968ba39e-535c-4477-a117-f62bbbec2ee6", "savedPayload": { "position": { "x": 19052.52507924122, @@ -13225,7 +13414,7 @@ } } ], - "id": "2ac4637d-672e-4181-b6cf-bde28be180fd", + "id": "ace9bd6a-bafa-4941-a87b-619ae13554dc", "savedPayload": { "position": { "x": 18869.8966505386, @@ -13249,7 +13438,7 @@ } } ], - "id": "940b5c40-de8a-4480-8ab5-56c9807752b6", + "id": "0be3471f-ebc4-4e17-8616-dc7f66ea04b3", "savedPayload": { "position": { "x": 18687.268221835984, @@ -13273,7 +13462,7 @@ } } ], - "id": "90e8d936-1a7b-4cd4-ab5f-20362f1b17f4", + "id": "e7c043a0-02ef-4f53-b83d-931210a0f6b0", "savedPayload": { "position": { "x": 18802.07325154551, @@ -13326,7 +13515,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.VolumeEnergyB", "project": "Foundations", - "id": "0fba6e20-f590-4533-befb-b9dfacd11f65", + "id": "b15b9d62-a452-4087-98b2-fe77751b183b", "savedPayload": { "position": { "x": 19510.587404640937, @@ -13347,7 +13536,7 @@ "uiObject": {} } }, - "id": "03e61129-a3dd-4301-b392-386d45b022d6", + "id": "118b4528-5d7f-446e-ad8e-a99fb3615948", "savedPayload": { "position": { "x": 19323.54046408332, @@ -13379,7 +13568,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.VolumeEnergyB", "project": "Foundations", - "id": "bedc8245-eb19-425a-b994-a7ceaf34f5f7", + "id": "79aa4519-ee12-4d4a-8238-8ac520045c4c", "savedPayload": { "position": { "x": 19002.98096315191, @@ -13400,7 +13589,7 @@ "uiObject": {} } }, - "id": "5b35ea1b-9331-43b6-97ad-39a4f3498f3b", + "id": "bc523c70-a914-478d-bc82-c249b0a8a432", "savedPayload": { "position": { "x": 19069.737243338805, @@ -13432,7 +13621,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.TmpB", "project": "Foundations", - "id": "3045fbd5-3571-4313-94a2-590460b56869", + "id": "f2862699-2263-493a-8614-2dae18e7ff86", "savedPayload": { "position": { "x": 18595.912202784246, @@ -13453,7 +13642,7 @@ "uiObject": {} } }, - "id": "3457c2db-5245-4162-b527-805e0af59777", + "id": "f5a624f5-ce1d-417d-b95a-34fd9512c5e5", "savedPayload": { "position": { "x": 18866.202863154973, @@ -13485,7 +13674,7 @@ "name": "TmpB End", "code": "x = record.end\ny = record.TmpB", "project": "Foundations", - "id": "dc44e74b-9fdc-453d-8747-ede6f361d601", + "id": "20f04c36-7108-47db-a089-67182b0cd3ae", "savedPayload": { "position": { "x": 18595.912202784246, @@ -13506,7 +13695,7 @@ "uiObject": {} } }, - "id": "55f39ac4-fa0f-47eb-939a-ff0d56ee3cfc", + "id": "b40813b5-245e-4cd7-aeab-e4bf5ff76641", "savedPayload": { "position": { "x": 18866.202863154973, @@ -13538,7 +13727,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.RelativeAgitation", "project": "Foundations", - "id": "3645582c-1496-41c8-9c0f-4d516d1e6cd8", + "id": "6905c5b7-8579-47b1-a255-a3b05ef0d4a8", "savedPayload": { "position": { "x": 19002.98096315191, @@ -13559,7 +13748,7 @@ "uiObject": {} } }, - "id": "c6765490-6d4a-4be1-8154-427c8bbbe5ae", + "id": "0060796a-7cac-4f2b-a3be-1bb5f36c03a7", "savedPayload": { "position": { "x": 19069.737243338805, @@ -13591,7 +13780,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.RelativeAgitation", "project": "Foundations", - "id": "18416bf1-8c83-4815-b6de-d65e92846c9c", + "id": "a3ea4c80-b9f4-4403-a384-5b327d71d108", "savedPayload": { "position": { "x": 19510.587404640937, @@ -13612,7 +13801,7 @@ "uiObject": {} } }, - "id": "79a9758a-59e5-40f1-adbe-d0dd3292533c", + "id": "3e546d5b-8225-4826-b4a5-26c1cc556008", "savedPayload": { "position": { "x": 19323.54046408332, @@ -13636,7 +13825,7 @@ } } ], - "id": "9f060a31-b5a8-452e-bd69-91fdaa6e99e6", + "id": "c13cb944-4906-4da7-a995-a72ee73b6e1d", "savedPayload": { "position": { "x": 18830.08216843255, @@ -13674,7 +13863,7 @@ "name": "New Style", "config": " { \"default\": { \"opacity\": 0.2, \"lineWidth\": 1, \"lineDash\": [0,0], \"paletteColor\": \"UI_COLOR.DARK_TURQUOISE\" }, \"atMousePosition\": { \"opacity\": 0.3, \"lineWidth\": 2, \"lineDash\": [0,0], \"paletteColor\": \"UI_COLOR.RUSTED_RED\" }}", "project": "Foundations", - "id": "d02d0ea3-8260-45e2-b01d-13eaf90cc849", + "id": "bb6130ef-a81f-47cb-a22d-d77d6759a06e", "savedPayload": { "position": { "x": 19907.22067503921, @@ -13696,7 +13885,7 @@ } }, "styleConditions": [], - "id": "5ffd8291-c778-4d8d-91ec-af001c0d65ba", + "id": "3f017cbe-2039-4899-ba20-de4f877d62ce", "savedPayload": { "position": { "x": 19814.515576726728, @@ -13724,7 +13913,7 @@ "type": "Polygon Vertex", "name": " RelativeAgitation End", "project": "Foundations", - "id": "33fedc85-e169-4ae0-a292-89f4f9eabff6", + "id": "b2c44278-ae57-4a68-b79e-03b6c8cbfd48", "savedPayload": { "position": { "x": 20007.12743330279, @@ -13746,7 +13935,7 @@ "referenceParent": { "type": "Point", "name": "RelativeAgitation End", - "id": "79a9758a-59e5-40f1-adbe-d0dd3292533c" + "id": "3e546d5b-8225-4826-b4a5-26c1cc556008" } } }, @@ -13754,7 +13943,7 @@ "type": "Polygon Vertex", "name": " RelativeAgitation Begin", "project": "Foundations", - "id": "638f5833-1d44-411b-a109-7e1856de5b21", + "id": "3e2119f5-8aed-43a5-95fb-bd5603f7d066", "savedPayload": { "position": { "x": 19629.105380101762, @@ -13776,12 +13965,12 @@ "referenceParent": { "type": "Point", "name": "RelativeAgitation Begin", - "id": "c6765490-6d4a-4be1-8154-427c8bbbe5ae" + "id": "0060796a-7cac-4f2b-a3be-1bb5f36c03a7" } } } ], - "id": "58c77f09-d757-43a6-8021-dad1186224df", + "id": "497c59f9-18a6-478e-aa39-4239c45dd625", "savedPayload": { "position": { "x": 19299.528784892158, @@ -13807,7 +13996,7 @@ ], "images": [], "texts": [], - "id": "b486c07e-2cb9-4430-8d71-2f3f3540ee6f", + "id": "315b0eb1-8b5e-468e-9103-02048865ffd3", "savedPayload": { "position": { "x": 19129.10936087281, @@ -13847,7 +14036,7 @@ "name": "New Data Formula", "code": "record.VolumeEnergyB", "project": "Foundations", - "id": "eba78c47-e332-40bc-bdb4-ebcab9d68abe", + "id": "857f6939-8a7c-4b51-8b48-f159c8cc8acd", "savedPayload": { "position": { "x": 19333.98913258091, @@ -13873,7 +14062,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "ed92502c-57e0-441c-94f5-0d8452be21bb", + "id": "82ae9bac-312f-4d23-a27b-2c14af5b6185", "savedPayload": { "position": { "x": 19851.919422732124, @@ -13894,7 +14083,7 @@ "uiObject": {} } }, - "id": "e7de342d-153d-4d0f-b148-3d9c22d673c7", + "id": "64ba7728-52cd-4762-9106-19c1ee2fa192", "savedPayload": { "position": { "x": 19580.88429234901, @@ -13927,7 +14116,7 @@ "name": "New Data Formula", "code": "record.TmpB", "project": "Foundations", - "id": "49066684-d201-4f53-8fb8-6bddee517d1c", + "id": "c91f2340-b86f-4343-a743-55d8bea925ac", "savedPayload": { "position": { "x": 20026.1909381936, @@ -13953,7 +14142,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "4c4751f9-23b9-4187-b4e3-b32f672716a0", + "id": "2e836735-c59c-44e2-af55-140edc9b6326", "savedPayload": { "position": { "x": 19984.379282595168, @@ -13974,7 +14163,7 @@ "uiObject": {} } }, - "id": "ac474ab6-df3f-4f86-8203-1a124fb2fcf6", + "id": "3d811af3-4071-4256-b098-0f31a9f52e82", "savedPayload": { "position": { "x": 19855.771514174252, @@ -14007,7 +14196,7 @@ "name": "New Data Formula", "code": "record.RelativeAgitation", "project": "Foundations", - "id": "6ba83c7c-0e19-4fd4-a516-f6c8360fea03", + "id": "0484900c-3fb3-4822-91e9-1a322380e4f6", "savedPayload": { "position": { "x": 19779.499510887068, @@ -14033,7 +14222,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "25eba218-3dbf-4fae-b52a-01662c66c13e", + "id": "bf23a49b-028a-4ff2-9f95-84be5e1df509", "savedPayload": { "position": { "x": 19261.569220735855, @@ -14054,7 +14243,7 @@ "uiObject": {} } }, - "id": "7c079ad6-b9e3-4688-b065-a292f9819d6f", + "id": "e56b82b4-b504-4679-8b05-ae3d77d09344", "savedPayload": { "position": { "x": 19532.60435111897, @@ -14078,7 +14267,7 @@ } } ], - "id": "ef56e5f2-4837-4912-9862-d60a24ee0ada", + "id": "388fa494-8d2d-4523-8c86-130667fc8a4f", "savedPayload": { "position": { "x": 19556.74432173399, @@ -14102,7 +14291,7 @@ } } ], - "id": "efa29cea-36c7-4f4d-8b9c-c673d04c1cc0", + "id": "b0dccb18-4ef0-4848-9984-5f6b708e21c7", "savedPayload": { "position": { "x": 19257.717129293727, @@ -14126,7 +14315,7 @@ } } ], - "id": "044d92ce-d5e2-4b2e-8404-87b6fd41ce7c", + "id": "483b8735-4b7c-4883-8044-4602e2f46d2e", "savedPayload": { "position": { "x": 18916.878281255034, @@ -14179,7 +14368,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.OBV", "project": "Foundations", - "id": "973ad6ae-cff9-4ca4-b6fc-d2193c88fdc0", + "id": "bf8d880d-672f-4a75-80fe-574b9d668974", "savedPayload": { "position": { "x": 19283.1771923724, @@ -14200,7 +14389,7 @@ "uiObject": {} } }, - "id": "b160aef5-51d8-4789-be5d-1098274ab63c", + "id": "3b0600a8-9b37-4d4d-a1b2-d7cf296f9844", "savedPayload": { "position": { "x": 19092.642461419746, @@ -14232,7 +14421,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.OBV", "project": "Foundations", - "id": "6f2fbd2c-a3aa-41aa-b252-fc1f3cf372ab", + "id": "1b0d7340-0fc2-4305-b89a-9f961d9ec490", "savedPayload": { "position": { "x": 18579.09736081268, @@ -14253,7 +14442,7 @@ "uiObject": {} } }, - "id": "776f9a12-ebe1-4119-ab84-c2aa8d2747e9", + "id": "833c6082-f3ae-4dba-bf56-2d2e37c5ef0a", "savedPayload": { "position": { "x": 18740.602545639886, @@ -14285,7 +14474,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.VEma20", "project": "Foundations", - "id": "195245dc-f9d4-4a51-8f4b-99a60d9fc1f0", + "id": "8e507b0d-ea83-43fc-bc95-7e46aa80157f", "savedPayload": { "position": { "x": 18321.406881396688, @@ -14306,7 +14495,7 @@ "uiObject": {} } }, - "id": "639bd6de-66e1-47d7-a773-a247f0e59d35", + "id": "03856313-e1ad-4bdd-a01f-d36ac0e32666", "savedPayload": { "position": { "x": 18611.75730593189, @@ -14338,7 +14527,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.VEma20", "project": "Foundations", - "id": "a42e326e-41e4-42ef-8835-4e11513f2bb1", + "id": "3cf05f7b-15cf-4f5b-ba43-1f8ca33dfa3f", "savedPayload": { "position": { "x": 18866.225238100073, @@ -14359,7 +14548,7 @@ "uiObject": {} } }, - "id": "91630172-b1de-4db7-beff-89409b950f74", + "id": "278ebe53-3b7b-499b-876f-7a98ab70dbd7", "savedPayload": { "position": { "x": 18884.16648428358, @@ -14383,7 +14572,7 @@ } } ], - "id": "d5c8f736-6b21-4ffa-aabc-aede6a1a761f", + "id": "7af97f79-7dfe-4df6-b1e4-9e11a25fd6c9", "savedPayload": { "position": { "x": 18902.10773046709, @@ -14421,7 +14610,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 0.2,\n \"lineWidth\": 1,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.DARK_TURQUOISE\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "fb99cdeb-1db1-4f41-b752-00972fa86982", + "id": "6533aa25-5d49-428e-80bc-4195dd3fc701", "savedPayload": { "position": { "x": 18513.24329856391, @@ -14443,7 +14632,7 @@ } }, "styleConditions": [], - "id": "f3db35d5-2fb5-46bb-9f06-3affabe88afb", + "id": "b0400f18-46c4-43dc-825b-63de73d0bda3", "savedPayload": { "position": { "x": 18792.50542315717, @@ -14471,7 +14660,7 @@ "type": "Polygon Vertex", "name": " OBV Begin", "project": "Foundations", - "id": "1ee84f70-be7a-4052-a2b3-08c297214605", + "id": "b423b4e1-3937-450e-bbaf-40d3f84e7e9b", "savedPayload": { "position": { "x": 18962.16524044051, @@ -14493,7 +14682,7 @@ "referenceParent": { "type": "Point", "name": "OBV Begin", - "id": "b160aef5-51d8-4789-be5d-1098274ab63c" + "id": "3b0600a8-9b37-4d4d-a1b2-d7cf296f9844" } } }, @@ -14501,7 +14690,7 @@ "type": "Polygon Vertex", "name": " OBV End", "project": "Foundations", - "id": "f8102d82-beae-4a39-8464-2df4b700aef4", + "id": "4d040903-846a-4e9a-a2f6-b02bf5fbd90d", "savedPayload": { "position": { "x": 19351.02967234369, @@ -14523,12 +14712,12 @@ "referenceParent": { "type": "Point", "name": "OBV End", - "id": "776f9a12-ebe1-4119-ab84-c2aa8d2747e9" + "id": "833c6082-f3ae-4dba-bf56-2d2e37c5ef0a" } } } ], - "id": "a84d7408-e3a2-46dd-a679-82fbeb30a931", + "id": "d034eb54-fb81-4204-902d-ec5b37b93adf", "savedPayload": { "position": { "x": 19071.76754775043, @@ -14564,7 +14753,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 1,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.TRUE_BLUE\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "429b8b4b-1238-4620-b6bc-f3c9941cc71a", + "id": "635b7245-3d52-4572-a5c9-c215512756e4", "savedPayload": { "position": { "x": 19241.42736503377, @@ -14586,7 +14775,7 @@ } }, "styleConditions": [], - "id": "761798fe-d097-495a-b3e8-0e1fe3ada00c", + "id": "6b0e576e-8d3d-491f-ba68-9337d87611f7", "savedPayload": { "position": { "x": 19351.02967234369, @@ -14614,7 +14803,7 @@ "type": "Polygon Vertex", "name": " OBV-EMA20 Begin", "project": "Foundations", - "id": "f77671b3-64dd-439e-ab74-2cfa6fda4fda", + "id": "82feb5c2-2953-4637-a050-829152d1436c", "savedPayload": { "position": { "x": 19739.894104246872, @@ -14636,7 +14825,7 @@ "referenceParent": { "type": "Point", "name": "OBV-EMA20 Begin", - "id": "639bd6de-66e1-47d7-a773-a247f0e59d35" + "id": "03856313-e1ad-4bdd-a01f-d36ac0e32666" } } }, @@ -14644,7 +14833,7 @@ "type": "Polygon Vertex", "name": " OBV-EMA20 End", "project": "Foundations", - "id": "6d1ef3b8-5015-4b27-8012-fa8e85fdc963", + "id": "d5a04d50-34a3-4943-b085-d25ba60a38b6", "savedPayload": { "position": { "x": 19570.23428696353, @@ -14666,12 +14855,12 @@ "referenceParent": { "type": "Point", "name": "OBV-EMA20 End", - "id": "91630172-b1de-4db7-beff-89409b950f74" + "id": "278ebe53-3b7b-499b-876f-7a98ab70dbd7" } } } ], - "id": "1d687947-0d16-495e-9248-bd9b3584549f", + "id": "0db78f07-3de5-4dfb-b897-0ab569b03b4c", "savedPayload": { "position": { "x": 19460.63197965361, @@ -14697,7 +14886,7 @@ ], "images": [], "texts": [], - "id": "aa5f0c70-40b2-427e-98ee-4f6c933f9925", + "id": "6eda4ee9-ba8c-4164-9adb-b2b65f63ffa5", "savedPayload": { "position": { "x": 19181.36985506035, @@ -14737,7 +14926,7 @@ "name": "New Data Formula", "code": "record.OBV", "project": "Foundations", - "id": "981c4392-5da5-4597-acce-8ca3a4757cc6", + "id": "09ece260-a816-4e29-9157-65d01757b401", "savedPayload": { "position": { "x": 19665.06604348551, @@ -14763,7 +14952,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "7552d0a1-e0ad-4564-b641-3b83dac786e0", + "id": "9a1d390d-90e6-475a-acda-4cd33171d463", "savedPayload": { "position": { "x": 20071.31759866297, @@ -14784,7 +14973,7 @@ "uiObject": {} } }, - "id": "318c2f77-d4a5-41cc-a653-29a83756fb57", + "id": "f7e3fb6a-8db7-4faf-855d-b526adc49eae", "savedPayload": { "position": { "x": 19774.66835079543, @@ -14817,7 +15006,7 @@ "name": "New Data Formula", "code": "record.VEma20", "project": "Foundations", - "id": "b193ecf0-a791-4ecc-9323-ece76574fa37", + "id": "1c6cd255-9111-46cc-adde-f117cec172e1", "savedPayload": { "position": { "x": 19993.872965415267, @@ -14843,7 +15032,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.TRUE_BLUE\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "1724119f-9203-4049-b808-02f6dd95de4f", + "id": "ee2d9b16-8847-4ca1-93f6-da9fa86b116a", "savedPayload": { "position": { "x": 19510.17677699011, @@ -14864,7 +15053,7 @@ "uiObject": {} } }, - "id": "a4132d09-8cdf-4f83-aef7-80668ae71d3f", + "id": "04c92fb7-3760-426d-a96a-7745c4205a6d", "savedPayload": { "position": { "x": 19697.223717547728, @@ -14888,7 +15077,7 @@ } } ], - "id": "7768e3f9-e192-4f74-b99f-22d7a23caf33", + "id": "efdc8aed-aefa-49ea-b0d3-5909b2baefac", "savedPayload": { "position": { "x": 19587.62141023781, @@ -14912,7 +15101,7 @@ } } ], - "id": "d7835009-f055-4528-8d46-ce49834d6772", + "id": "b7f287ac-e31a-40a1-b085-ed2b4c358874", "savedPayload": { "position": { "x": 19290.97216237027, @@ -14936,7 +15125,7 @@ } } ], - "id": "24601154-4071-4ad7-8361-ddfeebde17be", + "id": "14df12a3-f09c-4b20-a0cb-b0da4a7aec46", "savedPayload": { "position": { "x": 19031.683310964563, @@ -14989,7 +15178,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.osc", "project": "Foundations", - "id": "ce6c90a5-95d9-4b78-8c4b-c35040ce50bf", + "id": "59499ef3-b126-438b-91fb-fd5c3c6c170f", "savedPayload": { "position": { "x": 19246.074239378362, @@ -15010,7 +15199,7 @@ "uiObject": {} } }, - "id": "678c4be6-5491-4376-8f0a-152ce8c39ef4", + "id": "70237379-dc23-42ae-b5d5-64c24975cce2", "savedPayload": { "position": { "x": 19008.75292898146, @@ -15042,7 +15231,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.osc", "project": "Foundations", - "id": "1775671c-fd21-4355-b8e9-8fa4f72e4033", + "id": "10478946-1888-4cc7-b5c6-ad84f20683a7", "savedPayload": { "position": { "x": 18780.407262793717, @@ -15063,7 +15252,7 @@ "uiObject": {} } }, - "id": "e6618481-4771-4e1d-b13f-134f1a4fca13", + "id": "2d408ffc-fe52-47d3-b020-fb487bd20b3c", "savedPayload": { "position": { "x": 18775.919440689137, @@ -15095,7 +15284,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.oscb", "project": "Foundations", - "id": "16217881-918d-4ff9-b271-36dfa2685576", + "id": "45ed2899-c1c6-4d36-b09f-4df5f18d72bc", "savedPayload": { "position": { "x": 18307.981443049797, @@ -15116,7 +15305,7 @@ "uiObject": {} } }, - "id": "a8fb5ed0-2a20-4ae4-8916-1be6eeb6e813", + "id": "6f414540-6108-4a7a-b260-47ba16efaf08", "savedPayload": { "position": { "x": 18539.706530817177, @@ -15148,7 +15337,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.oscb", "project": "Foundations", - "id": "2bbdbf61-6f8e-4e4a-9ded-cb86fc58f419", + "id": "2cb88b99-28db-47af-ac2c-599e1835f447", "savedPayload": { "position": { "x": 18184.543058144274, @@ -15169,7 +15358,7 @@ "uiObject": {} } }, - "id": "74858687-db69-4744-9df5-74ee24f6a5bc", + "id": "3f4db0b9-9900-455b-9810-141c2d810064", "savedPayload": { "position": { "x": 18477.987338364415, @@ -15201,7 +15390,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.oscs", "project": "Foundations", - "id": "57970955-b3d3-442f-9c7c-2eed845c9055", + "id": "6caccece-f7fb-4690-8b4e-34d1fcfedd4b", "savedPayload": { "position": { "x": 18503.043729595174, @@ -15222,7 +15411,7 @@ "uiObject": {} } }, - "id": "6f9bab79-000b-45c1-a071-e1f326f88a26", + "id": "3538229f-10f6-4238-8050-5257ab21d871", "savedPayload": { "position": { "x": 18637.237674089865, @@ -15254,7 +15443,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.oscs", "project": "Foundations", - "id": "099d2380-c037-4f67-afd2-ea63d7baf657", + "id": "0f9015a0-f017-4369-86ec-63613fc8d068", "savedPayload": { "position": { "x": 19023.645955570293, @@ -15275,7 +15464,7 @@ "uiObject": {} } }, - "id": "86a0d7a4-2c66-4533-b390-ad7dd2b4aeca", + "id": "fda10062-c153-47b9-a07f-6b21f1c18932", "savedPayload": { "position": { "x": 18897.538787077425, @@ -15299,7 +15488,7 @@ } } ], - "id": "db62163b-0526-4621-aee9-1f1478a75862", + "id": "1adc6257-8e36-439e-bf5a-22e10523e8e2", "savedPayload": { "position": { "x": 18771.431618584556, @@ -15337,7 +15526,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 1,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.TRUE_BLUE\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "786907aa-1a92-40bd-8189-62f82492f4a2", + "id": "bde94a0b-ab25-4c26-9ac8-100549c790ec", "savedPayload": { "position": { "x": 18814.765459716862, @@ -15359,7 +15548,7 @@ } }, "styleConditions": [], - "id": "1d9ae2b6-3f97-457a-be38-248426d1783c", + "id": "5a932e54-14a8-479a-bc56-f419c404d1c2", "savedPayload": { "position": { "x": 19069.969479423064, @@ -15387,7 +15576,7 @@ "type": "Polygon Vertex", "name": " Volume Oscillator End", "project": "Foundations", - "id": "e7a4e368-d4ae-499d-8e13-97503458c236", + "id": "373036ec-fdfd-4b7b-a4b7-6fb06d6a1864", "savedPayload": { "position": { "x": 19167.468368186113, @@ -15409,7 +15598,7 @@ "referenceParent": { "type": "Point", "name": "Volume Oscillator End", - "id": "e6618481-4771-4e1d-b13f-134f1a4fca13" + "id": "2d408ffc-fe52-47d3-b020-fb487bd20b3c" } } }, @@ -15417,7 +15606,7 @@ "type": "Polygon Vertex", "name": " Volume Oscillator Begin", "project": "Foundations", - "id": "da290ed4-49c0-49a0-a7d4-5f795a5881e8", + "id": "06798b14-3709-43b2-82ee-f85bd975d6a5", "savedPayload": { "position": { "x": 19580.377518835467, @@ -15439,12 +15628,12 @@ "referenceParent": { "type": "Point", "name": "Volume Oscillator Begin", - "id": "678c4be6-5491-4376-8f0a-152ce8c39ef4" + "id": "70237379-dc23-42ae-b5d5-64c24975cce2" } } } ], - "id": "dc41b524-7e00-4684-b4ba-b19bfaa0eedf", + "id": "d9485c2c-8d00-48ae-94b3-df193ef7dbef", "savedPayload": { "position": { "x": 19325.173499129265, @@ -15480,7 +15669,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 1,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.TRUE_GREEN\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "06fadc95-a19f-4e55-b677-a25ed09c168f", + "id": "9dc04bef-e7e1-4199-9ec1-e25d9135eb38", "savedPayload": { "position": { "x": 19219.160767319798, @@ -15502,7 +15691,7 @@ } }, "styleConditions": [], - "id": "e00c3377-3f58-4219-a1c1-e8e7e3abfa52", + "id": "9b059d5b-c889-46c5-bae5-c8120d8116bc", "savedPayload": { "position": { "x": 19448.009638878477, @@ -15530,7 +15719,7 @@ "type": "Polygon Vertex", "name": " Volume Oscillator BUY End", "project": "Foundations", - "id": "a454190a-d90d-4e8e-9254-ca97f21ad6f7", + "id": "eb929941-05e7-4507-b00c-43090a863a51", "savedPayload": { "position": { "x": 19870.838390801895, @@ -15552,7 +15741,7 @@ "referenceParent": { "type": "Point", "name": "Volume Oscillator BUY End", - "id": "74858687-db69-4744-9df5-74ee24f6a5bc" + "id": "3f4db0b9-9900-455b-9810-141c2d810064" } } }, @@ -15560,7 +15749,7 @@ "type": "Polygon Vertex", "name": " VOlume Oscillator BUY Begin", "project": "Foundations", - "id": "4a89df19-8c7f-4901-89a5-a91c1b9c5b0f", + "id": "d6028fd6-486d-49f6-9478-91231f0185b0", "savedPayload": { "position": { "x": 19905.707381995835, @@ -15582,12 +15771,12 @@ "referenceParent": { "type": "Point", "name": "VOlume Oscillator BUY Begin", - "id": "a8fb5ed0-2a20-4ae4-8916-1be6eeb6e813" + "id": "6f414540-6108-4a7a-b260-47ba16efaf08" } } } ], - "id": "7ab2255d-7aa1-4e3f-9587-e5c27099ac88", + "id": "0a0a7aa4-4765-4466-a10b-083f2b06f29e", "savedPayload": { "position": { "x": 19676.858510437156, @@ -15623,7 +15812,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 1,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.TRUE_RED\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "0dabd345-847b-4722-9039-ea5ceb9f8faa", + "id": "997c938e-1949-4444-95da-e2d265eebc06", "savedPayload": { "position": { "x": 19988.00519780637, @@ -15645,7 +15834,7 @@ } }, "styleConditions": [], - "id": "e74a6c16-7c7c-42c1-8d70-7298ef4387b4", + "id": "929d6d75-d836-4de4-9cb3-01176a7e87cf", "savedPayload": { "position": { "x": 19874.237559010493, @@ -15673,7 +15862,7 @@ "type": "Polygon Vertex", "name": " Volume Oscillator SELL End", "project": "Foundations", - "id": "15670198-9613-4136-94a6-c2e2f8ad91a1", + "id": "ea266aed-1563-4232-b88b-9c5a5a95c0fa", "savedPayload": { "position": { "x": 20038.061210356813, @@ -15695,7 +15884,7 @@ "referenceParent": { "type": "Point", "name": "Volume Oscillator SELL End", - "id": "86a0d7a4-2c66-4533-b390-ad7dd2b4aeca" + "id": "fda10062-c153-47b9-a07f-6b21f1c18932" } } }, @@ -15703,7 +15892,7 @@ "type": "Polygon Vertex", "name": " Volume Oscillator SELL Begin", "project": "Foundations", - "id": "9e890f77-a9a9-4411-a9c0-a3bb87a3d8d6", + "id": "aed3a8bf-54ad-4a20-8117-a87de1cae605", "savedPayload": { "position": { "x": 19646.702281418737, @@ -15725,12 +15914,12 @@ "referenceParent": { "type": "Point", "name": "Volume Oscillator SELL Begin", - "id": "6f9bab79-000b-45c1-a071-e1f326f88a26" + "id": "3538229f-10f6-4238-8050-5257ab21d871" } } } ], - "id": "c873dfe7-2fa3-4450-a25f-98d99780fb43", + "id": "df61565e-04ab-4a5e-a5b7-059893a46e12", "savedPayload": { "position": { "x": 19760.469920214615, @@ -15756,7 +15945,7 @@ ], "images": [], "texts": [], - "id": "8ba6a9fb-b94c-4cc9-a190-c86699196360", + "id": "3ccd24ab-4b13-41c5-8cca-50d614be1cb6", "savedPayload": { "position": { "x": 19482.878630072417, @@ -15796,7 +15985,7 @@ "name": "New Data Formula", "code": "record.oscb", "project": "Foundations", - "id": "da5fbf84-6950-4636-b019-252efe90a6f8", + "id": "1ba9d08d-f776-444c-b81e-26804d26b0b4", "savedPayload": { "position": { "x": 19744.162129975106, @@ -15822,7 +16011,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.TRUE_GREEN\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "725dd0d9-6c02-4d1a-9d1b-7baf8e2f804e", + "id": "cc4af5af-c34e-42f8-b5ed-f15e2313c4d9", "savedPayload": { "position": { "x": 20173.488390864728, @@ -15843,7 +16032,7 @@ "uiObject": {} } }, - "id": "17443400-9181-42bd-9968-b8671e1f2504", + "id": "36ac1d8a-17f5-4e4e-80f0-b20779cfdc56", "savedPayload": { "position": { "x": 19874.327251710372, @@ -15876,7 +16065,7 @@ "name": "New Data Formula", "code": "record.osc", "project": "Foundations", - "id": "539c38a6-b812-4d6b-98f6-efae313b7f1e", + "id": "32aa50cb-5eea-410f-afe8-799d2fbb1ffd", "savedPayload": { "position": { "x": 20223.493526956812, @@ -15902,7 +16091,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.TRUE_BLUE\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "5395c4e1-aff6-4cac-a751-08fda94c6471", + "id": "4b538d4e-4a41-4783-838b-6466036493bf", "savedPayload": { "position": { "x": 19930.783838510157, @@ -15923,7 +16112,7 @@ "uiObject": {} } }, - "id": "944559d3-cfd6-40f9-b4e6-9afd36c25507", + "id": "7e46c686-d212-4f13-8050-4a4801474625", "savedPayload": { "position": { "x": 19953.202866586085, @@ -15956,7 +16145,7 @@ "name": "New Data Formula", "code": "record.oscs", "project": "Foundations", - "id": "818a5c80-63b0-4c36-ad44-cdfe2d2b679f", + "id": "b5322764-06b5-49b9-afbd-33b914c386e3", "savedPayload": { "position": { "x": 19666.500338607468, @@ -15982,7 +16171,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.TRUE_RED\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "6eff74b6-dd67-4501-ab5c-6dad822f5b5c", + "id": "09cd3bf3-52af-434a-a137-90fca644cbdf", "savedPayload": { "position": { "x": 19237.174077717846, @@ -16003,7 +16192,7 @@ "uiObject": {} } }, - "id": "be9c9832-7c3a-4656-8b36-78b90585397b", + "id": "68b52ad0-022b-4179-bb61-c7979d014fc2", "savedPayload": { "position": { "x": 19536.3352168722, @@ -16027,7 +16216,7 @@ } } ], - "id": "1d49b775-fc03-4a99-9863-e07ffdaecb56", + "id": "bed1f299-6455-4651-8ef5-8be5c74cf197", "savedPayload": { "position": { "x": 19705.331234291287, @@ -16051,7 +16240,7 @@ } } ], - "id": "c4b3bf9a-55bd-4944-95d4-1d5f3c0dd1b9", + "id": "09aa6c77-61a8-4b0d-bc2c-bcdc24e33c06", "savedPayload": { "position": { "x": 19457.45960199649, @@ -16075,7 +16264,7 @@ } } ], - "id": "0633fe70-9703-4339-8352-f0f0aadf6409", + "id": "164f4b7c-30b2-49d4-ab2f-e0af67ea05a1", "savedPayload": { "position": { "x": 19129.010315610998, @@ -16128,7 +16317,7 @@ "name": "New Point Formula", "code": "x = record.begin\ny = record.previous.PastForecast", "project": "Foundations", - "id": "36108509-35c1-4194-9533-897b6a02b602", + "id": "6b76d594-e284-4401-bbd1-c227db2bc5b1", "savedPayload": { "position": { "x": 18718.030136833677, @@ -16149,7 +16338,7 @@ "uiObject": {} } }, - "id": "f3ae7a9e-85b8-4a08-8472-f2efde145253", + "id": "063092c7-befb-432f-a42d-bb8225c2fb74", "savedPayload": { "position": { "x": 18995.193996587062, @@ -16181,7 +16370,7 @@ "name": "New Point Formula", "code": "x = record.end\ny = record.PastForecast", "project": "Foundations", - "id": "39cdb269-2b15-4391-833b-a9677ab1b059", + "id": "372fc019-3c29-4ac4-b97b-f642e6733219", "savedPayload": { "position": { "x": 19350.673571672476, @@ -16202,7 +16391,7 @@ "uiObject": {} } }, - "id": "6e70be81-9ce9-45b4-bbe3-5d576a16f88e", + "id": "d4d9e320-bde8-45ce-b1ff-03e13a0dd4d5", "savedPayload": { "position": { "x": 19311.515714006462, @@ -16226,7 +16415,7 @@ } } ], - "id": "4b3fcbbf-c7db-49d1-a32d-36d4c82c1bd8", + "id": "24f03209-6de8-4d85-85f2-96e7e0e7f430", "savedPayload": { "position": { "x": 19272.357856340448, @@ -16264,7 +16453,7 @@ "name": "New Style", "config": "{\n \"default\": {\n \"opacity\": 1,\n \"lineWidth\": 1,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.TRUE_BLUE\"\n },\n \"atMousePosition\": {\n \"opacity\": 0.3,\n \"lineWidth\": 2,\n \"lineDash\": [\n 0,\n 0\n ],\n \"paletteColor\": \"UI_COLOR.RUSTED_RED\"\n }\n}", "project": "Foundations", - "id": "d9234f5b-46d8-4f50-9f8c-17ef0f9587df", + "id": "4fc4620b-c92d-4462-a4de-3867c23d8835", "savedPayload": { "position": { "x": 19557.917658762155, @@ -16286,7 +16475,7 @@ } }, "styleConditions": [], - "id": "16a73e73-fffc-4edf-a60b-963a8267bd39", + "id": "774666dc-f9ea-4f20-8380-92189302eb23", "savedPayload": { "position": { "x": 19672.72268847168, @@ -16314,7 +16503,7 @@ "type": "Polygon Vertex", "name": " PastForecast End", "project": "Foundations", - "id": "9cd8c2b7-b1b5-493b-85f6-7f5cda750ba1", + "id": "9f02b4a4-f70d-429a-9ce3-f501cdb998a0", "savedPayload": { "position": { "x": 20064.69157793459, @@ -16336,7 +16525,7 @@ "referenceParent": { "type": "Point", "name": "PastForecast End", - "id": "6e70be81-9ce9-45b4-bbe3-5d576a16f88e" + "id": "d4d9e320-bde8-45ce-b1ff-03e13a0dd4d5" } } }, @@ -16344,7 +16533,7 @@ "type": "Polygon Vertex", "name": " PastForecast Begin", "project": "Foundations", - "id": "5ecee769-043b-45e8-af4f-00e6fa4d153d", + "id": "79c86773-179a-44e6-b1a2-24ba68e1d06b", "savedPayload": { "position": { "x": 19902.33274789073, @@ -16366,12 +16555,12 @@ "referenceParent": { "type": "Point", "name": "PastForecast Begin", - "id": "f3ae7a9e-85b8-4a08-8472-f2efde145253" + "id": "063092c7-befb-432f-a42d-bb8225c2fb74" } } } ], - "id": "b5d9a08a-53d6-4211-b881-d1351d6e5380", + "id": "f5abed2f-83b2-4303-9373-d8d6106485ae", "savedPayload": { "position": { "x": 19787.527718181205, @@ -16397,7 +16586,7 @@ ], "images": [], "texts": [], - "id": "c67a821e-16f9-46b6-9604-bbbff1003272", + "id": "3e9f1ffc-ac22-4bc1-b9c2-231bbfc7d701", "savedPayload": { "position": { "x": 19510.36385842782, @@ -16437,7 +16626,7 @@ "name": "New Data Formula", "code": "record.PastForecast", "project": "Foundations", - "id": "de2c380c-463e-4347-b072-0b1accc55f90", + "id": "df026fec-e0de-4aab-9388-91e2952375d8", "savedPayload": { "position": { "x": 19618.432572433103, @@ -16463,7 +16652,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "8c2f3e9c-fa8b-44a6-aa9e-a16f8a703a86", + "id": "533354bc-5348-4b2e-b1d0-c198a71e04cc", "savedPayload": { "position": { "x": 20063.4957868385, @@ -16484,7 +16673,7 @@ "uiObject": {} } }, - "id": "dae84f7a-4808-4094-a766-9aa360128662", + "id": "8c9325d2-e0ea-4ba6-b744-8958e1716c95", "savedPayload": { "position": { "x": 19918.380120706926, @@ -16517,7 +16706,7 @@ "name": "New Data Formula", "code": "record.forecast5", "project": "Foundations", - "id": "06d4098d-e7d0-4001-b064-17793eb8cf48", + "id": "02c8b8c4-cfa2-488f-9996-d6ef6376e7cb", "savedPayload": { "position": { "x": 19986.17321604484, @@ -16543,7 +16732,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "b499375a-c86c-477f-849f-c298d898a59f", + "id": "64fe39da-0a96-4736-bcbb-f7375480af46", "savedPayload": { "position": { "x": 20473.334567780217, @@ -16564,7 +16753,7 @@ "uiObject": {} } }, - "id": "27dab26a-c53f-42ad-9f1a-5a4c01fa02ff", + "id": "fa085d57-b438-49aa-8568-215215cdc5e7", "savedPayload": { "position": { "x": 20177.573262224745, @@ -16597,7 +16786,7 @@ "name": "New Data Formula", "code": "record.forecast10", "project": "Foundations", - "id": "6d705bd6-6503-4bf5-a7e2-81d33fec9283", + "id": "aafb9813-f82d-496a-9508-3bdc9d881f75", "savedPayload": { "position": { "x": 20588.381864689934, @@ -16623,7 +16812,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "9b6e519c-2320-4776-9b35-5fdbc5d01d21", + "id": "20d8b688-a49a-4574-a11d-51bf2396f6ed", "savedPayload": { "position": { "x": 20272.060147270535, @@ -16644,7 +16833,7 @@ "uiObject": {} } }, - "id": "91f5a971-5da0-4ba6-b961-21f3ffaed0d1", + "id": "fabb6e97-1dd9-4802-ac7c-6463c352ba1d", "savedPayload": { "position": { "x": 20358.180246851032, @@ -16677,7 +16866,7 @@ "name": "New Data Formula", "code": "record.forecast20", "project": "Foundations", - "id": "5956b938-c33c-4665-8431-a483490630f0", + "id": "75f56744-f00d-4a57-ac1a-ff635fbcc98b", "savedPayload": { "position": { "x": 20272.060147270535, @@ -16703,7 +16892,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "b305a11a-b3d0-4e61-aec1-4e1409ad33ac", + "id": "0eace187-017b-41d3-8c53-a8846b4cd0c9", "savedPayload": { "position": { "x": 19756.890285429778, @@ -16724,7 +16913,7 @@ "uiObject": {} } }, - "id": "47eaeca3-4c2e-4497-aa6a-31890a4c1076", + "id": "14fd3781-e0a6-479e-9a10-42e65cb62ded", "savedPayload": { "position": { "x": 20324.200331451102, @@ -16757,7 +16946,7 @@ "name": "New Data Formula", "code": "record.forecast30", "project": "Foundations", - "id": "3f526b06-3555-4806-81d8-f9b1fee85ce5", + "id": "59a6abe1-ab76-4440-8f89-4a79231c2ddc", "savedPayload": { "position": { "x": 19756.890285429778, @@ -16783,7 +16972,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "d4cf274a-4868-481d-990a-caf9e97a2cdf", + "id": "034b2a9b-6115-48b0-a24b-1c990558b16f", "savedPayload": { "position": { "x": 19558.04214100842, @@ -16804,7 +16993,7 @@ "uiObject": {} } }, - "id": "92f57821-21b2-4e2d-aa00-b10cd258fd26", + "id": "aecba21a-3768-491e-9d2d-7f88ca9c08b7", "savedPayload": { "position": { "x": 20101.221085385063, @@ -16837,7 +17026,7 @@ "name": "New Data Formula", "code": "record.trend", "project": "Foundations", - "id": "58855c3a-2638-4b6d-ac22-3ea1125f3ae4", + "id": "c6030178-cc6e-4a99-aa1f-ee08f73bdd1e", "savedPayload": { "position": { "x": 19929.36405151103, @@ -16863,7 +17052,7 @@ "name": "New Text Style", "config": "{\n \"paletteColor\": \"UI_COLOR.GREY\",\n \"opacity\": 1,\n \"fontSize\": 14\n}", "project": "Foundations", - "id": "feb587ee-4bf1-4289-836f-7d03fa1ab4ca", + "id": "28493fbc-5e10-4773-af60-3737b4aa376e", "savedPayload": { "position": { "x": 19568.87523230481, @@ -16884,7 +17073,7 @@ "uiObject": {} } }, - "id": "502d0afe-5053-47a5-8870-58e50b14dc71", + "id": "d451061b-4cb5-43fd-9709-fe90469ad7cf", "savedPayload": { "position": { "x": 19857.15042888834, @@ -16908,7 +17097,7 @@ } } ], - "id": "06e6d6e0-09c3-41e4-bfa7-074750cc2487", + "id": "d7992847-8015-4746-9f46-01a4082c6ff5", "savedPayload": { "position": { "x": 20073.212002849177, @@ -16932,7 +17121,7 @@ } } ], - "id": "d454a398-da5f-46dd-907a-32b53605650f", + "id": "4db1ddf6-73fe-4497-ba93-62a7ab9baf8e", "savedPayload": { "position": { "x": 19471.206000761806, @@ -16956,7 +17145,7 @@ } } ], - "id": "08cbdbe3-6fab-4a7a-8651-1f16b39881e3", + "id": "6253ffcb-07e1-4b6c-9f9a-145f3f6fce9f", "savedPayload": { "position": { "x": 19194.04214100842, @@ -16980,7 +17169,7 @@ } } ], - "id": "c63ef3b5-f3a7-4070-aafc-35a814c839ed", + "id": "0b8e5ced-3467-4761-80c7-3f9e77c63b27", "savedPayload": { "position": { "x": 18916.878281255034,