Help with Acceleration bands, Heikin Ashi
Author: learntotrade30
Creation Date: 7/21/2011 5:07 PM
profile picture

learntotrade30

#1
I wanted to create the strategy with acceleration bands

Buy rule: 2 closes above the upper acceleration band with williams % R at or less than 20

Sell rule: when the close is below the lower acceleration band.

Also wanted help to create the Heikin Ashi candlestick chart. I downloaded the oscillator but wanted to create the chart. Is it possible. Thanks alot.
profile picture

Eugene

#2
QUOTE:
I wanted to create the strategy with acceleration bands

No problem. The rules are very simple and can be easily implemented with the Rule wizard.

Home - Tutorial Videos
QUOTE:
Also wanted help to create the Heikin Ashi candlestick chart.

Try searching the forum. This question gets raised every once in a while.
profile picture

learntotrade30

#3
i have the acceleration bands in the indicators but when i want to create the rules it does not show up where will i find it in the rules Thanks.

also tried to search heikin ashi candlestick but none found.
profile picture

Eugene

#4
QUOTE:
where will i find it in the rules Thanks.

Take a look in the tutorial videos, the link that I posted above. This basic and frequently asked question is illustrated in one of them (pls don't ask me which one three years since their creation).

A page is dedicated to it exclusively in the Wealth-Lab User Guide: Strategy Window > Strategy Builder > General Rules.

As you can see, reviewing the manuals and tutorial videos could help you get an answer to a basic question like this.
QUOTE:
also tried to search heikin ashi candlestick but none found.

A content search for "heikin ashi" w/o any extra strings (the less extra words the less is the chance of error) would reveal a number of H-A forum posts, WL6 code examples, and probably even mentions of a code snippet in the QuickRef that is used to plot H-A (hint: browse under the Bars object).
profile picture

learntotrade30

#5
Thanks Eugene. I figured out the first one.I am a new user and its too much information about software that i am learning so its taking time to learn.

I still need help for my second question i entered the following but getting some error. i am not a programmer so i dont understand what to change.

CODE:
Please log in to see this code.

I am getting

error CS1513@(57.4):}expected
error CS1513@(57.4):}expected

I do i run successfully

Thanks a lot
profile picture

Eugene

#6
OK, this is a broken mix of HACO and the QuickRef snippet. Let's set it straight; below is a readymade example. Copy and paste it into a new strategy, overwriting the default contents. Make sure you have "C:\temp" on your drive or edit the path in the code --
CODE:
Please log in to see this code.
profile picture

learntotrade30

#7
Thanks a lot got it.
profile picture

Eugene

#8
In the upcoming update of Community ChartStyles, we'll be adding a Heikin Ashi chartstyle to Wealth-Lab for ease of use.
profile picture

kvmp

#9
I tried. It only works with Daily chart. Results with not Daily charts are ambiguas.
profile picture

Eugene

#10
Hint:
CODE:
Please log in to see this code.
profile picture

Eugene

#11
Try changing both the BarScale and BarInterval, make them adaptive i.e. based on Bars.BarDataScale.Scale/BarInterval.
profile picture

Eugene

#12
Heikin Ashi in Community ChartStyles, no coding required:

Community ChartStyles library