QuaScript DocumentationLanguage guide, engine API, 601 builtins and the preset library · v3.0.0-phase1 mapGenerated from the engine catalog by tools/gen-docs.mjs; do not edit.map.clearscript.qsmap.clear(m)Removes every entry.ArgumentKindDefaultNotesmmap<any,any>requiredmap.copyscript.qsmap.copy(m) -> map<any,any>Copy of the map.ArgumentKindDefaultNotesmmap<any,any>requiredmap.createscript.qsmap.create(key_type, value_type) -> map<any,any>Dictionary from keys (float, int, bool, color, text or an enum) to values; iterates in insertion order.ArgumentKindDefaultNoteskey_typetyperequiredvalue_typetyperequiredmap.getscript.qsmap.get(m, k, default = na) -> anyValue for k, or default.ArgumentKindDefaultNotesmmap<any,any>requiredkanyrequireddefaultanynamap.hasscript.qsmap.has(m, k) -> boolTrue when k is present.ArgumentKindDefaultNotesmmap<any,any>requiredkanyrequiredmap.keysscript.qsmap.keys(m) -> list<any>List of keys in insertion order.ArgumentKindDefaultNotesmmap<any,any>requiredmap.removescript.qsmap.remove(m, k)Removes k.ArgumentKindDefaultNotesmmap<any,any>requiredkanyrequiredmap.setscript.qsmap.set(m, k, v)Sets the value for k.ArgumentKindDefaultNotesmmap<any,any>requiredkanyrequiredvanyrequiredmap.sizescript.qsmap.size(m) -> intNumber of entries.ArgumentKindDefaultNotesmmap<any,any>requiredmap.valuesscript.qsmap.values(m) -> list<any>List of values in insertion order.ArgumentKindDefaultNotesmmap<any,any>required← listgrid →All 81 chaptersGuideGetting startedScript headersLanguage basicsFunctionsStructs, enums and traitsLibrariesParametersRenderingColorsDrawingsCollectionsTime, sessions and dataStrategiesBotsExecution modelBuilding complex analysesAdvancedChart styles by exampleEngineEngine APIPerformanceDiagnosticsReferenceta: technical analysisstat: statisticsmathcolorrender: outputsdraw: drawing objectsarraylistmapgridtablestr: textparam: settingsbarassetintervaltimesessionfeed: other intervalsalertorderexitpositionportfolioriskbook: order book (host data)orderbook (host data)derivative (host data)financial (host data)option pricinganchorshapestyleraysidepanechartaccounthftPresetsEvery chartGalleryLanguage showcasesbookFundamentals and flowsWebGPU StudioMicrostructureTrendlines and levelsMoving averagesMomentumMultiple intervalsLayoutsMarket structureStatisticsTrendVolatilityVolumeVertical panesBotsChart stylesLibrariesStrategies