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 |

Island reversal Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
rwj
Posted : Wednesday, March 10, 2010 9:38:35 AM
Platinum Customer Platinum Customer

Joined: 12/31/2004
Posts: 16
I would appreciate your help in writing the conditions for bullish and bearish island reversals in StockFinder 5.0. I do not see them as choices in the standard libary of conditions. Thank you in advance for your help.

Regards,
rwj
Bruce_L
Posted : Wednesday, March 10, 2010 10:26:00 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
One way to create a RealCode Condition for an Island Reversal Top would be:

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 4.9 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:Island Reversal Top
'|******************************************************************
Static Gap(1) As Single
If isFirstBar Then
    Gap(0) = Single.NaN
    Gap(1) = Single.NaN
Else If Price.Low > Price.High(1) Then
    Gap(0) = Price.High(1)
    Gap(1) = Price.Low
Else If Price.High < Gap(1) Then
    Pass
    Gap(0) = Single.NaN
    Gap(1) = Single.NaN
End If
Gap(1) = Math.Min(Gap(1), Price.Low)
If Gap(1) <= Gap(0) Then
    Gap(0) = Single.NaN
    Gap(1) = Single.NaN
End If

One way to create a RealCode Condiiton for an Island Reversal Bottom would be:

'|*****************************************************************|
'|*** StockFinder RealCode Condition - Version 4.9 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Condition:Island Reversal Bottom
'|******************************************************************
Static Gap(1) As Single
If isFirstBar Then
    Gap(0) = Single.NaN
    Gap(1) = Single.NaN
Else If Price.High < Price.Low(1) Then
    Gap(0) = Price.Low(1)
    Gap(1) = Price.High
Else If Price.Low > Gap(1) Then
    Pass
    Gap(0) = Single.NaN
    Gap(1) = Single.NaN
End If
Gap(1) = Math.Max(Gap(1), Price.High)
If Gap(1) >= Gap(0) Then
    Gap(0) = Single.NaN
    Gap(1) = Single.NaN
End If

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
rwj
Posted : Wednesday, March 10, 2010 11:21:14 AM
Platinum Customer Platinum Customer

Joined: 12/31/2004
Posts: 16
Thank you Bruce. I will try these.

rwj
Bruce_L
Posted : Wednesday, March 10, 2010 11:32:21 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-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.