View ATR_RSI_MACD.pine
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
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ | |
// © szewa1992 | |
//@version=4 | |
study("MACD + ATR + RSI", resolution="", overlay=false) | |
displayATR = input(title="Display ATR?", type=input.bool, defval=true) | |
displayRSI = input(title="Display RSI?", type=input.bool, defval=false) | |
displayMACD = input(title="Display MACD?", type=input.bool, defval=true) |
View Camear2Preview.java
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
package cameraview.com.cameraview; | |
import android.annotation.SuppressLint; | |
import android.content.Context; | |
import android.graphics.ImageFormat; | |
import android.graphics.Matrix; | |
import android.graphics.Point; | |
import android.graphics.Rect; | |
import android.graphics.RectF; | |
import android.graphics.SurfaceTexture; |