Hello,
is it possible to make an offset line from the HMA period 7 within X bars?
thanks
is it possible to make an offset line from the HMA period 7 within X bars?
thanks
Rename
Hi,
We have displacement of indicators as a feature request:
https://www.wealth-lab.com/Discussion/Indicator-Advanced-Options-for-Building-Blocks-5953
Vote for it by liking that post.
Of course it's super easy to do in code. But why do you need to offset the HMA exactly? Maybe we can find some way around.
We have displacement of indicators as a feature request:
https://www.wealth-lab.com/Discussion/Indicator-Advanced-Options-for-Building-Blocks-5953
Vote for it by liking that post.
Of course it's super easy to do in code. But why do you need to offset the HMA exactly? Maybe we can find some way around.
Hello,
because I have a strategy indicator crosses indicator.
With the Alligator custom I come approximately, but not exactly.
because I have a strategy indicator crosses indicator.
With the Alligator custom I come approximately, but not exactly.
Nice try with Alligator Custom but you're right, it uses SMMA not HMA. As a workaround you could try to:
1. "Open as C# Coded Strategy" when finished with the Blocks
2. Edit generated code, replacing Alligator with HMA.
1. "Open as C# Coded Strategy" when finished with the Blocks
2. Edit generated code, replacing Alligator with HMA.
hi,
with SMMA it doesn`t work.
with SMMA it doesn`t work.
CODE:
indicator1 = new HMA(bars.Close,7); PlotIndicator(indicator1,Color.FromArgb(255,0,0,0)); indicator2 = new Alligator(bars.Close,AlligatorType.Custom,3,3); PlotIndicator(indicator2,Color.FromArgb(255,0,0,255)); weight = new ATR(bars,20); PlotIndicator(weight,Color.FromArgb(255,255,0,0));
Can you clarify what "doesn`t work"?
when i select smma i get the error message:
ArgumentOutOfRangeException
ArgumentOutOfRangeException
Next time you could attach a stack trace of the issue to help troubleshooting. Not necessary now: I figured out that you selected SMMA by typing its name in a Block and got the exception. This will be an easy fix for Build 12. Thanks for reporting.
Your Response
Post
Edit Post
Login is required