Calculating cross point..
Author: Pulsar!
Creation Date: 8/14/2009 5:20 AM
profile picture

Pulsar!

#1
Hello codders, i spend the whole night trying to solve it, but with out success :(

I need to calculate a cross point between BBandLower(#low, 20, 2) and #low..

I thought the best way is:

1) Find a bar with CrossUnder( Bar, #close, BBDown )=TRUE
2) Calculate Bar's size (Pricehigh(bar)-pricelow(bar))
3) Devide bar's for a pips, to know how many pips in a bar.
4) Somehow change last element of a priceseries on which BBandLower was calculated and recalculate BBandLower again and again with a changing last element from high to low, pips by pips to know on which price it actually crossed..

So, my questions is.. Is all this is possible ? Or may be i mistaked somewhere ?

P.S. Sorry for my english.
profile picture

Eugene

#2
First of all, your syntax indicates you're using a trial of WLD4 but posting under a forum dedicated to WL .NET (WL5).

The crossing point of BBandLower( Bars.Low ) and Bars.Low is BBandLower( Bars.Low ). Probably you're solving a different problem which should be explained in more detail.
profile picture

Pulsar!

#3
Oops.. Sorry. Admins please redirect my topic to the WL4 Section..

Crossing point of BBandLower(bar, #close) and #low is NOT BBandLower( Bars.Low ).

I need to know on what price it crossed before bar closed. That is what i try to solve.
profile picture

Eugene

#4
Don't code what you can beg, borrow or steal:

RevEngBBandLowerCross

You'll find the opposite study (for BBUpper) in the old Code Library as well.
profile picture

Pulsar!

#5
Oh my f.. God! That is exactly what i am serching for! Thank you!

Please no obscenities
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).