How to code length wick

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #223330 quote
    daxtrader3daxtrader3
    Participant
    Junior

    Dear traders,

    Can someone help me with coding the right why for a candle where the lower or higher wick is 1.5 x the body??

    Thanks in advance😁

    #223333 quote
    PeterStPeterSt
    Participant
    Master

    This may get you started ?
    https://www.prorealcode.com/topic/entry-price-long-above-close-of-pinbar/

    Or else try to search for Shooting Star / Hammer (via Google – include “prorealcode” as a term). More topics about it exist, but mostly in other languages.

    #223334 quote
    JSJS
    Participant
    Master

    Hi @daxtrader3

    Try this…

    UpperWick=High-Max(Open,Close)
    LowerWick=Min(Open,Close)-Low
    
    TopOfBody=Max(Open,Close)
    BottomOfBody=Min(Open,Close)
    BodySize=TopOfBody-BottomOfBody
    
    If UpperWick=1.5*BodySize or LowerWick=1.5*BodySize then
    ...
    ...
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTimeā„¢ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

How to code length wick


General Trading: Market Analysis & Manual Trading

New Reply
Author
author-avatar
daxtrader3 @daxtrader3 Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by JSJS
2 years, 10 months ago.

Topic Details
Forum: General Trading: Market Analysis & Manual Trading
Language: English
Started: 11/07/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...