Big Marubozu

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #30881 quote
    CarlosFC
    Participant
    New

    I have seen the code for marubozus (from Nicolas I think) and I would like to have an indicator to show big marubozus. I mean marubozus with a range three times larger than the average of last 30 days. Would it be also possible to have an screener based on that?

    Many thanks in advance.

    Carlos.

    #30951 quote
    Nicolas
    Keymaster
    Master

    Here we go with this screener code to detect big Marubozu candlestick pattern:

    bigmarubozu = abs(open-close)/range>=0.95 and range>=3*average[30](range)
    
    screener[bigmarubozu]

    It detects effectively big candlesticks! 🙂

    big-marubozu-screener.png big-marubozu-screener.png
    #30962 quote
    CarlosFC
    Participant
    New

    Thank you very much Nicolas. It was easier than expected.

    Just a question. I see that the screener filetrs stocks with marubozus throughout their history. Would it be possible to show only ones with marubozus at last or previous time frame (day, week, etc)?

    Thanks again.

    #30966 quote
    Nicolas
    Keymaster
    Master

    It should only detect if a Marubozu occurred today. Do you have any example of wrong return of the screener please?

    #30975 quote
    CarlosFC
    Participant
    New

    My mistake Nicolas. It works perfectly.

    Thanks a lot.

    Carlos.

    Nicolas thanked this post
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Big Marubozu


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
CarlosFC @carlosfc Participant
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by CarlosFC
8 years, 10 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 04/03/2017
Status: Active
Attachments: 1 files
Logo Logo
Loading...