Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

HEIKIN-ASHI CANDLES Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Reubray
Posted : Tuesday, May 18, 2010 5:39:26 PM
Registered User
Joined: 10/7/2004
Posts: 2
THIS APPEARS TO BE A VALUABLE ADVANCE. CAN U MAYBE  ADD IT TO THE INDICATORS OR SUGGEST A CODE THAT ONE COULD USE...REUBEN SILBERMAN THANX
Bruce_L
Posted : Wednesday, May 19, 2010 8:04:43 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The Heikin-Ashi code topic has information that should allow you to add Heiken Ashi Candles to your Chart using a RealCode Indicator. You'll probably want to change the Plot Style of the Indicator to Candlestick or OHLC Bar.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
biggolfer2
Posted : Monday, May 24, 2010 5:09:46 PM
Registered User
Joined: 4/20/2010
Posts: 20
Bruce:

I got the Heiken Ashi code that you wrote and put it my SF4.......I just upgraded to SF 5 and, evidently, it didn't copy over to SF 5 properly. The bars are not painting in the SF 5 program. The tech person I talked to couldn't fix it and said I probably needed a new Heiken Ashi real code for SF 5. Do you have one please? The HA's were beautiful SF 4. I didn't really want to upgrade but SF 4 was such a memory hog I felt I needed to.
Julia_O
Posted : Tuesday, May 25, 2010 10:21:14 AM


Worden Trainer

Joined: 4/26/2007
Posts: 508
Hi biggolfer2,

The 'paintbrush' code Bruce shared within the post referenced above can be implemented in SF5.  You'll need to create a new Paint Scheme.  Select the Paint Scheme drop down (from the bottom left corner of the Price pane); then choose New Paint Scheme.  Within the editor that appears, place a checkmark next to Apply RealCode.  Then Edit the RealCode, pasting Bruce's code into the editor.  You may name the Paint Scheme and save it for future use.

Julia
biggolfer2
Posted : Thursday, May 27, 2010 6:34:07 PM
Registered User
Joined: 4/20/2010
Posts: 20

I cleared the Heiken Ashi indicator that transfered over from SF 4 into SF 5. I recopied the Heiken Ashi code that Bruce wrote(the first one...close vs close) and applied it in SF 4. I worked perfectly. I did the same thing with the code he wrote to color the Heiken Ashi bars(the first one). The codee is NOT coloring the Heiken Ashi bars in SF 5. I NEED to get the HA bars to color.

biggolfer2
Posted : Thursday, May 27, 2010 6:36:30 PM
Registered User
Joined: 4/20/2010
Posts: 20
BTW.......I'm not trying to color the price bars with the HAS indicator. I want the HA bars to paint.
Bruce_L
Posted : Tuesday, June 1, 2010 9:32:59 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
biggolfer2,
The following RealCode (taken directly from the original post) works correctly for me both as a SF4 Paint Brush on the HA Indicator and as a SF5 Paint Scheme on the HA Indicator:

If Line.Value > Line.Value(1) Then
    PlotColor = Color.Green
Else If Line.Value < Line.Value(1) Then
    PlotColor = Color.Red
Else
    PlotColor = Color.Yellow
End If

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.