custom indicators fixed

This commit is contained in:
2026-04-09 17:00:43 -04:00
parent a70dcd954f
commit fd431516cc
17 changed files with 778 additions and 440 deletions

View File

@@ -8,6 +8,7 @@ import LoginScreen from './components/LoginScreen.vue'
import { useChartStore } from './stores/chart'
import { useShapeStore } from './stores/shapes'
import { useIndicatorStore } from './stores/indicators'
import { useIndicatorTypesStore } from './stores/indicatorTypes'
import { useChannelStore } from './stores/channel'
import { useStateSync } from './composables/useStateSync'
import { wsManager } from './composables/useWebSocket'
@@ -93,11 +94,13 @@ const initializeApp = async () => {
const chartStore = useChartStore()
const shapeStore = useShapeStore()
const indicatorStore = useIndicatorStore()
const indicatorTypesStore = useIndicatorTypesStore()
const channelStore = useChannelStore()
const stateSync = useStateSync({
chartState: chartStore,
shapes: shapeStore,
indicators: indicatorStore,
indicator_types: indicatorTypesStore,
channelState: channelStore
})
stateSyncCleanup = stateSync.cleanup