I ask your forbearance... I'm not a developer. I can read bash and python OK, but .NET is new to me...
I would like to create a sentiment indicator that:
Divides the Advancing Issues/Declining Issues for a particular Exchange
Smoothes that value with an SMA or EMA
Finds the lowest value for the moving average.
How do I calculate that indicator?
Thanks in advance!
I haven't used Wealth-Lab since like 2004. The noobie developer in me misses the scripting language, but I'm excited to learn the new product.
Size:
Color:
Welcome back. But don't miss the scripting language, it's still here yet way more powerful. Although your task can be accomplished in WealthScript, I'd resort to use Index-Lab with an extension as it's more straightforward:
QUOTE:
Divides the Advancing Issues/Declining Issues for a particular Exchange
1. This is Zweig's Advance/Decline indicator, also known as the "A/D Ratio". You can find it among many
IndexDefinitions in the
MS123 IndexDefinitions library. Restart WLP after installing and check out the User Guide on how to use Index-Lab, the syntax etc.
QUOTE:
Smoothes that value with an SMA or EMA
Finds the lowest value for the moving average.
2. Once your I-L DataSet from step #1 is created, you can access it in the script, then smooth it and find the lowest low like this:
CODE:
Please log in to see this code.
Size:
Color:
QUOTE:
I'm not a developer. I can read bash and python OK, but .NET is new to me...
I don't know Python but love Bash scripting for Linux too :) In certain scenarios, a Bash one-liner can replace many dozen lines of C# equivalent code.
Size:
Color: