Rank: Advanced Member
Groups: Registered, Registered Users Joined: 5/22/2005(UTC) Posts: 59
|
Does anyone know how to code for "Long White Candlestick" please?
I know I can use BigWhite() to get "Long White Candlestick", but what I am looking for is its coding formula in Indicator Builder.
Many thanks!!
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 9/8/2004(UTC) Posts: 2,266
Was thanked: 1 time(s) in 1 post(s)
|
Sorry lcl,
I though somebody would have theanswer for you.
I'm not a big fan of candlesticks ...
Can you give the definition ( Your definition ) of the Long White Candlestick, and I will try to create it.
Patrick :mrgreen:
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 10/29/2004(UTC) Posts: 1,394 Location: Glastonbury, CT
Was thanked: 2 time(s) in 2 post(s)
|
If(ATR(1)>Ref(ATR(1),-1) and C>Ref(C,-1),1,If(ATR(1)>Ref(ATR(1),-1) and C<Ref(C,-1),-1,0));
long white are 1 long black are -1
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 5/22/2005(UTC) Posts: 59
|
Patrick wrote:
Can you give the definition ( Your definition ) of the Long White Candlestick....
Definition: An unusually long white body with a wide range between high and low, and prices open near the low and close near the high.
Many thanks!
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 5/22/2005(UTC) Posts: 59
|
henry1224 wrote:If(ATR(1)>Ref(ATR(1),-1) and C>Ref(C,-1),1,If(ATR(1)>Ref(ATR(1),-1) and C<Ref(C,-1),-1,0));
long white are 1 long black are -1
Thanks Henry.....but the coding is a bit way from the definition.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey patrick.... looked into it but that was my problem, finding a clear definition of long white candle.....
If((O<C) AND (C-O)>2*(H-L)/3 AND H-L>ATR(4),1,0)
was the closest i could come, which gives different results than henry's.....
had to change henrys code abit to get it to work for me......h
henrys code modified abit
column a
If(ATR(1)>Ref(ATR(1),-1) AND C>Ref(C,-1),1,0)
column b
If(ATR(1)>Ref(ATR(1),-1) AND C<Ref(C,-1),-1,0)
-------------------------------------------------------
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers Joined: 3/7/2005(UTC) Posts: 1,346
|
hey lcl..... now that i see your definition, which is mine also, try this..... it returns that type results..... would have replied eariler but like patrick, the definition was a roadblock..... btw, thanks for the question, it helps us all.....h
column a
If((O<C) AND (C-O)>2*(H-L)/3 AND H-L>ATR(4),1,0)
----------------------------------------------------
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Unverified Users Joined: 1/13/2005(UTC) Posts: 87 Location: perth australia
|
Try this code:
C-OPEN>(Mov(Abs(OPEN-C),10,S))
Cheers
Norman
|
|
|
|
Users browsing this topic |
Guest (Hidden)
|
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.