分类
简单的外汇市场赚钱方法

如何使用TradingView回测数字货币交易策略

11-01 1650

TradingView - Pine Editor Error: Could 如何使用TradingView回测数字货币交易策略 not get Pine source code

I tried to open the source code for the built-in "Zig Zag" indicator but I got an error saying: Could not get Pine source code. Does anybody know what this means or how to get around it?

1 Answer 1

Opened it for you.

Not the answer you're looking for? Browse other questions tagged pine-script tradingview-api or ask your own question.

    The Overflow Blog

Related

Hot Network 如何使用TradingView回测数字货币交易策略 Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Site design / logo © 2022 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2022.8.19.42867

By clicking “Accept all cookies”, you agree Stack 如何使用TradingView回测数字货币交易策略 Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

MCDX Pro


This indicator shows the status of operators and how the bankers shake out the locked chips.

Green Bar 如何使用TradingView回测数字货币交易策略 - Locked Chips
Yellow Bar - Floating Chips
Red 如何使用TradingView回测数字货币交易策略 Bar - Profitable Chips

How to use the indicators?


There are two bars that need to be focused on this indicator which is the Green Bar and Red Bar.
Green Bar means the market share still in loss and many shareholders that stuck are ready 如何使用TradingView回测数字货币交易策略 to cut loss. This caused the price of the market shares harder to increase and becoming uptrend again 如何使用TradingView回测数字货币交易策略 until it breaks certain resistance.
Red Bar means the 如何使用TradingView回测数字货币交易策略 market share is in profit and many shareholders still want to push the price. The higher the Red Bar, the stronger the momentum of the market shares.

This indicators best to be used in timeframe 5minutes(tf5m), timeframe 30minutes(tf30m), and timeframe 1hour(tf60m).

如何使用TradingView回测数字货币交易策略
Contact me if you want to try this indicator.

Contact me if you want to try other indicators like TAD Systems, MCDX, and many more. (t.me/TradersCornerTalk)

手把手教你vue中如何使用TradingView

youngeffort 于 2018-09-11 10:05:52 发布 13139 收藏 19

2、进到项目文件夹 => 可用node启动项目 => npm install http-server -g => http-server -p 9090

  1. 把以上三个js文件与文件库放到vue根目录下的static文件夹下
  2. 把tradingview中在index.html中引入的三个文件,通过vue根目录下面的入口文件index.html引入
  3. 在对应的组件引入tradingview---这里的构造器 widget 如何使用TradingView回测数字货币交易策略 配置可查看官方文档(地址)

11-01 1650

**前言: 本文使用的是1.10版本 , 可通过TradingView.version()查看当前版本. 附上开发文档地址:https://zlq4863947.gitbooks.i. ** 一、修改datafeed.js为export导出,并在vue文件引入TradingView内部代码charting_library.min.js和.

08-04 359

【实例简介】基于 vue + tradingview定制化 的交易所 K线(免费),可实现全部定制化,接入数据即可使用,完全免费【实例截图】【核心代码】vue-tradingview-master└── vue-tradingview-master├── build│ ├── build.js│ ├── check-versions.js│ ├── logo.png│ ├── ut.

交易视图图表与Binance API的集成 该项目使用与集成的 安装 将charting_library文件夹放在scripts文件夹内。 然后将该脚本文件夹放在src目录和public目录。 yarn install 开始 yarn serve 建造 yarn build 在Heroku上部署 使用heroku cli登录到heroku,并将此仓库添加到您的远程heroku帐户,然后使用以下命令进行部署。 yarn heroku

TradingView JS API Binance Vue.js和JS API集成示例,用于与WebSocket流进行Binance交换。 文章 开始之前 图表库是免费的,但其代码位于GitHub上的私有存储库。 确保您有权访问此存储库: : 。 如何使用TradingView回测数字货币交易策略 如果看到404错误页面,则需要在请求访问该存储库,然后单击“ Get Library按钮。 特征 客户端 Vuejs 2.x @ vue / cli-service(Webpack 4,SASS / SCSS) 服务器端 Fastify.js 如何使用TradingView回测数字货币交易策略 fastify-http-proxy 安装 为客户端和服务器端安装依赖项。 $ cd client && npm install $ cd server && npm install 将charting_library文件夹从复制到/public文件夹。 图表库的最早支持版本是

Usage¶

Please install or update TradingView_TA to the latest version. Please read the getting started guide before continuing.

TradingView_TA older than v3.2.0 is no longer supported. Please update using pip install tradingview_ta --upgrade .

Importing TradingView_TA¶

Checking the version¶

Starting from version 3.1.3, you can retrieve the version of TradingView_TA through the __version__ attribute.

Instantiating TA_Handler¶

https://raw.githubusercontent.com/brian-the-dev/python-tradingview-ta/main/images/tv-list.png

Tip

You can search on https://tvdb.brianthe.dev to see which symbol, exchange, and screener to use.

  • symbol ( str ) – Ticker symbol (e.g., "AAPL" , "TLKM" , "USDEUR" , "BTCUSDT" ).

  • exchange ( str ) – Exchange (e.g., "nasdaq" , "idx" , Exchange.FOREX , "binance" ).

  • screener ( str ) 如何使用TradingView回测数字货币交易策略 – Screener (e.g., "america" , "indonesia" , "forex" , "crypto" ).

  • If you’re looking for stocks, enter the exchange’s country 如何使用TradingView回测数字货币交易策略 as the screener.
  • If you’re looking for cryptocurrency, enter "crypto" as the screener.
  • If you’re looking for forex, enter "forex" as the screener.

interval ( str ) – Time frame

Note

Please see the Interval class for available intervals.

timeout ( float , optional) – How long to 如何使用TradingView回测数字货币交易策略 wait (in seconds) for the server to return a response.

Retrieving the analysis¶

analysis is an instance of Analysis class. It contains information such as the exchange, symbol, 如何使用TradingView回测数字货币交易策略 screener, interval, local time (datetime.datetime), etc.

  • symbol ( str ) – The symbol set earlier.

  • exchange ( str ) – The exchange set earlier.

  • screener ( str ) – The screener set earlier.

  • interval ( str ) – The 如何使用TradingView回测数字货币交易策略 interval set earlier.

  • time ( datetime.datetime ) – The time when the data is retrieved.

  • summary ( dict ) – Technical analysis (based on both oscillators and moving averages).

oscillators ( dict ) – Technical analysis (based on oscillators).如何使用TradingView回测数字货币交易策略

moving_averages ( dict ) – Technical analysis (based on moving averages).如何使用TradingView回测数字货币交易策略

indicators ( dict ) – Technical indicators.

  • Opening price: analysis.indicators["open"]
  • Closing price: analysis.indicators["close"]
  • Momentum: analysis.indicators["Mom"]
  • RSI: analysis.indicators["RSI"]
  • MACD: analysis.indicators["MACD.macd"]

Retrieving multiple analysis¶

You 如何使用TradingView回测数字货币交易策略 如何使用TradingView回测数字货币交易策略 can’t mix different screener and interval.

symbols ( list ) – List of exchange and ticker symbol separated by a 如何使用TradingView回测数字货币交易策略 如何使用TradingView回测数字货币交易策略 colon. Example: [“NASDAQ:TSLA”, “NYSE:DOCN”] or [“BINANCE:BTCUSDT”, “BITSTAMP:ETHUSD”].

screener ( str ) – Screener (e.g., "america" , "indonesia" , "forex" , "crypto" ).

timeout ( float , 如何使用TradingView回测数字货币交易策略 optional) – How long to wait (in seconds) for the server to return a response.

interval ( str ) – Time frame

Note

Please see the Interval class for available intervals.

get_multiple_analysis() returns a dictionary with a format of .

Please use UPPERCASE letters when accessing the dictionary.

If there is no analysis for a certain symbol, Analysis 如何使用TradingView回测数字货币交易策略 will be replaced with a None . For example, BINANCE:如何使用TradingView回测数字货币交易策略 DEXEUSDT does not have an analysis, but BINANCE:BTCUSDT has:

Proxy¶

Simply add the proxies parameter if you wish to utilize a proxy. It’s worth noting that a bad proxy could result in TradingView rejecting your request.