I am new to Wealth-Lab and have a question on programming indicators. I am able to program my system within Wealth-Lab but am unclear on how to program indicators. It looks like that will require me to obtain a development environment like Visual Studio or SharpScripts. I am willing to learn but don't know where to start programming indicators.
I am interested in programming a indicator in Wealth-Lab that I have been using in another platform.
This indicator is something like the CMCSuperTrend but seems to calculate somewhat different than I am use to. It is called a Volatility Stop. The indicator uses the following logic.
When Up Trend Detected....
VSTOP = CL - MULT * TR
As Up Trend Continues....
VSTOP = MAX(VSTOP.1, MaxCL - MULT * TR)
When Down Trend Detected....
VSTOP = CL + MULT * TR
As Down Trend Continues....
VSTOP = MIN(VSTOP.1, MinCL + MULT * TR)
Where...
CL = Closing Price
MULT = True Range Multiplier
TR = True Range
VSTOP.1 = Volatility Stop Value on Previous Bar
MaxCL = Maximum Closing Price since Up Trend Began
MinCL = Minimum Closing Price since Down Trend Began
Trend reverses between up and down when Closing Price crosses VSTOP.
More info can be found at:
http://www.linnsoft.com/tour/techind/vstop.htmIs the code for the CMCSuperTrend available to view? I would like to take it and understand the difference between it and the VolatilityStop. Then I would like to program the indicator in Wealth-Lab.