Hi,
As I understand it, as long as you use the same symbol, source, and interval the result of the following stochactics studies should all plot the same:
Assumption: The default source for stochastics is “default: high, low and close” as stated in the “eSignal EFS Developer’s Reference”. Yet no matter which source I use the resulting stochastics value differs from the same stochastics when no source is specified.
On a chart displaying the “ES #F” on a 3 minute interval with source for stochastics = hlc3():
As you can see in the attached chart the values for stochastics for the above “xTypes” differ, (I can't create a table in this post so values are all together)
Study Type (see basicStoch-test1.efs) StochK Value (see chart) StochD Value (see chart)
5,3,3 stochastics from "Basic Menu" 30.005 23.48
xType == "_Std" stochK(5,3,3); 30.005 23.48
xType == "_inv" stochK(5,3,3,inv(3)); 30.005 23.48
xType == "_C-inv" stochK(5,3,3,hlc3(inv(3))); 1.85 1.23
xType == "_C-Sym"stochK(5,3,3,hlc3(sym("ES #F,3"))); 1.85 1.23
I must repeat: no matter which source I use the resulting stochastics value differs from the same stochastics when no source is specified (open(), high(), low(), close(), hl2(), hlc3(), or ohlc4()).
I can only guess that it is a bug.
The page, chart, and test efs are attached in a zip file.
Thanks
As I understand it, as long as you use the same symbol, source, and interval the result of the following stochactics studies should all plot the same:
Assumption: The default source for stochastics is “default: high, low and close” as stated in the “eSignal EFS Developer’s Reference”. Yet no matter which source I use the resulting stochastics value differs from the same stochastics when no source is specified.
On a chart displaying the “ES #F” on a 3 minute interval with source for stochastics = hlc3():
As you can see in the attached chart the values for stochastics for the above “xTypes” differ, (I can't create a table in this post so values are all together)
Study Type (see basicStoch-test1.efs) StochK Value (see chart) StochD Value (see chart)
5,3,3 stochastics from "Basic Menu" 30.005 23.48
xType == "_Std" stochK(5,3,3); 30.005 23.48
xType == "_inv" stochK(5,3,3,inv(3)); 30.005 23.48
xType == "_C-inv" stochK(5,3,3,hlc3(inv(3))); 1.85 1.23
xType == "_C-Sym"stochK(5,3,3,hlc3(sym("ES #F,3"))); 1.85 1.23
I must repeat: no matter which source I use the resulting stochastics value differs from the same stochastics when no source is specified (open(), high(), low(), close(), hl2(), hlc3(), or ohlc4()).
I can only guess that it is a bug.
The page, chart, and test efs are attached in a zip file.
Thanks
Comment