- change chartType to candle
- add Supertrend
- add MA x 2
- add MACD
- add RSI
- init stage
Last active
January 14, 2020 16:23
-
-
Save suntong/5c0e67de1f49fe81567ddf62098bc957 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interval": "day", | |
"periodicity": 1, | |
"timeUnit": null, | |
"candleWidth": 8, | |
"volumeUnderlay": true, | |
"adj": true, | |
"crosshair": true, | |
"chartType": "candle", | |
"extended": false, | |
"marketSessions": {}, | |
"aggregationType": "ohlc", | |
"chartScale": "linear", | |
"panels": { | |
"chart": { | |
"percent": 0.64, | |
"display": "TSLA", | |
"chartName": "chart", | |
"top": 0 | |
}, | |
"rsi (14)": { | |
"percent": 0.16, | |
"display": "rsi (14)", | |
"chartName": "chart", | |
"top": 289.92 | |
}, | |
"macd (12,26,9)": { | |
"percent": 0.19999999999999996, | |
"display": "macd (12,26,9)", | |
"chartName": "chart", | |
"top": 362.40000000000003 | |
} | |
}, | |
"setSpan": {}, | |
"lineWidth": 2, | |
"stripedBackgroud": true, | |
"events": true, | |
"color": "#0081f2", | |
"eventMap": { | |
"corporate": { | |
"divs": true, | |
"splits": true | |
}, | |
"sigDev": {} | |
}, | |
"symbols": [ | |
{ | |
"symbol": "TSLA", | |
"symbolObject": { | |
"symbol": "TSLA" | |
}, | |
"periodicity": 1, | |
"interval": "day", | |
"timeUnit": null, | |
"setSpan": {} | |
} | |
], | |
"studies": { | |
"vol undr": { | |
"type": "vol undr", | |
"inputs": { | |
"id": "vol undr", | |
"display": "vol undr" | |
}, | |
"outputs": { | |
"Up Volume": "#00b061", | |
"Down Volume": "#FF333A" | |
}, | |
"panel": "chart", | |
"parameters": { | |
"widthFactor": 0.45, | |
"chartName": "chart" | |
} | |
}, | |
"rsi (14)": { | |
"type": "rsi", | |
"inputs": { | |
"Period": 14, | |
"id": "rsi (14)", | |
"display": "rsi (14)" | |
}, | |
"outputs": { | |
"RSI": "#ad6eff" | |
}, | |
"panel": "rsi (14)", | |
"parameters": { | |
"studyOverZonesEnabled": true, | |
"studyOverBoughtValue": 80, | |
"studyOverBoughtColor": "#79f4bd", | |
"studyOverSoldValue": 20, | |
"studyOverSoldColor": "#ff8084", | |
"chartName": "chart" | |
} | |
}, | |
"macd (12,26,9)": { | |
"type": "macd", | |
"inputs": { | |
"Fast MA Period": 12, | |
"Slow MA Period": 26, | |
"Signal Period": 9, | |
"id": "macd (12,26,9)", | |
"display": "macd (12,26,9)" | |
}, | |
"outputs": { | |
"MACD": "#ad6eff", | |
"Signal": "#ffa33f", | |
"Increasing Bar": "#79f4bd", | |
"Decreasing Bar": "#ff8084" | |
}, | |
"panel": "macd (12,26,9)", | |
"parameters": { | |
"chartName": "chart" | |
} | |
}, | |
"ma (21,C,ma,0)": { | |
"type": "ma", | |
"inputs": { | |
"Period": "21", | |
"Field": "Close", | |
"Type": "simple", | |
"Offset": 0, | |
"id": "ma (21,C,ma,0)", | |
"display": "ma (21,C,ma,0)" | |
}, | |
"outputs": { | |
"MA": "#ad6eff" | |
}, | |
"panel": "chart", | |
"parameters": { | |
"chartName": "chart" | |
} | |
}, | |
"ma (10,C,ma,0)": { | |
"type": "ma", | |
"inputs": { | |
"Period": "10", | |
"Field": "Close", | |
"Type": "simple", | |
"Offset": 0, | |
"id": "ma (10,C,ma,0)", | |
"display": "ma (10,C,ma,0)" | |
}, | |
"outputs": { | |
"MA": "#64f1d9" | |
}, | |
"panel": "chart", | |
"parameters": { | |
"chartName": "chart" | |
} | |
}, | |
"Supertrend (7,3)": { | |
"type": "Supertrend", | |
"inputs": { | |
"Period": 7, | |
"Multiplier": 3, | |
"id": "Supertrend (7,3)", | |
"display": "Supertrend (7,3)" | |
}, | |
"outputs": { | |
"Uptrend": "#8cc176", | |
"Downtrend": "#b82c0c" | |
}, | |
"panel": "chart", | |
"parameters": { | |
"chartName": "chart" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment