This document provides a concise reference for Pine Script, a programming language specifically designed for trading strategies and indicators within TradingView.
Operator | Description |
---|
// All credits go to CMoody for the original Idea... | |
// THE MTFRSI is an extension of his original script to now encorporate 3RSI's on one panel | |
study(title="TraderX0 3-RSI MTF", shorttitle="X0_3_RSI_MTF", precision=0) | |
//candle source | |
src = close | |
//rsi setup | |
//first RSI inputs | |
firstRsiTimeframe = input(title="Select 1st RSI Timeframe", type=resolution, defval="60") |
elevation_compat.xml | |
<shape xmlns:android="http://schemas.android.com/apk/res/android"> | |
<gradient | |
android:angle="270" | |
android:endColor="@android:color/transparent" | |
android:startColor="#50000000" /> | |
</shape> | |
styles.xml | |
<style name="ElevationCompatTheme"> |
// based off of https://gist.github.com/creationix/5544019 | |
// these could probably be condensed more, but I'm just doing this | |
// quickly | |
function call(func) { | |
var args = Array.prototype.slice.call(arguments, 1); | |
return function(callback) { | |
args.push(callback); |
tim@touchsmart:~/Code$ nvm use v0.11.2-generators | |
Now using node v0.11.2-generators | |
tim@touchsmart:~/Code$ node --harmony testgen.js | |
<Buffer 76 61 72 20 66 73 20 3d 20 72 65 71 75 69 72 65 28 27 66 73 27 29 3b 0a 66 75 6e 63 74 69 6f 6e 20 72 65 61 64 46 69 6c 65 28 70 61 74 68 2c 20 65 6e 63 ...> | |
Sleeping for 2000ms... | |
Done |