mirror of
https://git.hmsn.ink/coin/chart.git
synced 2026-03-19 15:55:03 +09:00
rsi 추가
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
"yarn": "^1.22.22"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^24.3.0",
|
||||
"@vitejs/plugin-vue": "^6.0.1",
|
||||
"@vue/tsconfig": "^0.7.0",
|
||||
"@vueuse/integrations": "^13.7.0",
|
||||
|
||||
@@ -217,6 +217,7 @@ const candleSocket = (cont, ti) => {
|
||||
if(dd.length) signal2.value = [...signal2.value, entrySignals(ticks)]
|
||||
|
||||
const tt = swingSignal(ticks)
|
||||
console.log(tt)
|
||||
if(tt[0] !== 'HOLD') signal1.value = [...signal1.value, swingSignal(ticks)]
|
||||
lazyLock.value = false
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import '@mdi/font/css/materialdesignicons.css'
|
||||
import 'vuetify/styles'
|
||||
import 'vuetify/dist/vuetify.min.css'
|
||||
import {createVuetify} from "vuetify/framework";
|
||||
import * as components from 'vuetify/components'
|
||||
import * as directives from 'vuetify/directives'
|
||||
|
||||
6
src/shims-vue.d.ts
vendored
Normal file
6
src/shims-vue.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// src/shims-vue.d.ts
|
||||
declare module '*.vue' {
|
||||
import type { DefineComponent } from 'vue'
|
||||
const component: DefineComponent<{}, {}, any>
|
||||
export default component
|
||||
}
|
||||
@@ -91,7 +91,8 @@ function calculateMACD(data: any, fastPeriod = 12, slowPeriod = 26, signalPeriod
|
||||
if (m[i] == null || s[i] == null) {
|
||||
h.push({});
|
||||
} else {
|
||||
h.push({time: data[i].t, value: m[i].value - s[i].value, color: (m[i].value - s[i].value) > 0 ? '#26a69a' : '#ef5350',});
|
||||
const mm : any = m[i]
|
||||
h.push({time: data[i].t, value: mm.value - s[i].value, color: (mm.value - s[i].value) > 0 ? '#26a69a' : '#ef5350',});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,45 @@
|
||||
{
|
||||
"files": [],
|
||||
"references": [
|
||||
{ "path": "./tsconfig.app.json" },
|
||||
{ "path": "./tsconfig.node.json" }
|
||||
]
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "bundler",
|
||||
"strict": true,
|
||||
"jsx": "preserve",
|
||||
"jsxImportSource": "vue",
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"removeComments": true,
|
||||
"importHelpers": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"isolatedModules": true,
|
||||
"useDefineForClassFields": true,
|
||||
"noEmit": true,
|
||||
"allowJs": true,
|
||||
"allowImportingTsExtensions": true,
|
||||
"noImplicitThis": true,
|
||||
// "verbatimModuleSyntax": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"skipLibCheck": true,
|
||||
"lib": ["esnext", "dom"],
|
||||
"types": [
|
||||
"vite/client",
|
||||
"vite-plugin-pwa/client",
|
||||
"unplugin-vue-router/client",
|
||||
],
|
||||
"paths": {
|
||||
"/@src/*": ["./src/*"],
|
||||
"/@server/*": ["./server/*"]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"vite-plugin/**/*.ts",
|
||||
"server/**/*.ts",
|
||||
"types/**/*.d.ts",
|
||||
"src/**/*.js",
|
||||
"src/**/*.ts",
|
||||
"src/**/*.vue",
|
||||
"*.config.ts"
|
||||
],
|
||||
"exclude": ["bulma-colors.ts", "components-meta.ts"]
|
||||
}
|
||||
|
||||
3
types/components.d.ts
vendored
3
types/components.d.ts
vendored
@@ -7,9 +7,6 @@ export {}
|
||||
/* prettier-ignore */
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ChartMid: typeof import('./../src/components/ChartMid.vue')['default']
|
||||
ChartTop: typeof import('./../src/components/ChartTop.vue')['default']
|
||||
ChatTop: typeof import('./../src/components/ChatTop.vue')['default']
|
||||
LWChart: typeof import('./../src/components/LWChart.vue')['default']
|
||||
LWChartOption: typeof import('./../src/components/LWChartOption.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import {isProduction, isDebug, env, process} from 'std-env'
|
||||
import {isProduction, isDebug, env} from 'std-env'
|
||||
import Vue from '@vitejs/plugin-vue'
|
||||
import VueRouter from 'unplugin-vue-router/vite'
|
||||
import { VueRouterAutoImports } from 'unplugin-vue-router'
|
||||
|
||||
Reference in New Issue
Block a user