Smooth indicators without writing code from scratch
Author: ggmommtw
Creation Date: 10/12/2018 2:25 AM
profile picture

ggmommtw

#1
I would like to smooth Wealth Lab indicators ATR and OBV by 3 and 20 but would need the code to do this with out writing it from scratch.
profile picture

Eugene

#2
Piece of cake. You can drop an indicator (smoother) onto an indicator (ATR, OBV) then click "Push all indicators... into the Strategy code" button. There you have the code.

These links illustrate the idea:

How do I get started learning Wealth-Lab?
Tutorial Video | Strategy | Use the Wizard to create a Rule-based Strategy
Tutorial Video | Indicators | Combining Indicators on Charts
Tutorial Video | Indicators | Designing Rule-based Strategies, Combining different Indicators

P.S. Video requires Flash support.
profile picture

ggmommtw

#3
Thanks for the info
profile picture

Eugene

#4
Any time.
profile picture

cdgulliver

#5
I found this helpful as well. I'm sure it's user error but I get an error "Unable to push one or more indicators to code. Indicators drag dropped onto indicators that are plotted via WealthScript code cannot be pushed into code." My intention is to create a rule based on SMA(RSI). Is that possible if I'm successful in pushing the indicator to code. Sorry for my ignorance.
profile picture

Eugene

#6
Well, the message is pretty straightforward. You took a WealthScript strategy and dropped SMA onto an RSI indicator created in code. Such derivative indicator cannot be pushed into code. You either have to 1) "create" SMA(RSI) in Rules from scratch or 2) adjust that code-based Strategy manually.

If you take #1, your only option in Rule-based world currently is "Smoothed indicator crosses above(below) Value". It's under "General indicators". Will that work?
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).