Custom indicator import missing inputs
7件の返信
I’m trying to important an indicator with partial success, but the inputs for period and deviation are missing in SQ.
input double deviation = 2.0; //StDeviations
input int deviation_period = 14; //StDevPeriod
These are the 2 parameter inputs for the indicator. The only parameter options in SQ are ‘Shift’ and ‘Value’.
What needs to be changed?
Indicator attached
0
こんにちは,
when you import custom indicator values you cannot modify periods and parameters. Check this for more information https://strategyquant.com/doc/strategyquant/external-indicators/
0
I’m trying to compute StdDev from High-Low.
Maybe this custom block will be a sufficient comparison, but not exactly the same.
0
Forgot to attach images:
1st image is what I am trying to get.
2nd image is a custom block I made as a half ‘fix’.
0
Did a little research using tradingview pinescript and I dont think using custom blocks will be sufficient. Pic below has the different variations.
Notice that StdDev(High-Low, 20) always has positive values, because its just showing BarRange.
Just sharing for anyone interested.
0
So the best way to do this will be to convert the indicator to java.
Watching this: https://www.youtube.com/watch?v=veiqIh0BS10&t=26s
0
こんにちは、,
right, adding the Java snippet is the most effective way compared to the custom block. Once you manage to add a new indicator the next time it will be a lot easier
0
7件の返信を表示中 - 1 - 7件目 (全7件中)