EMA cross arrows indi or script

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #213765 quote
    Berwick
    Participant
    New

    Hi, could anybody point me to an indicator that places an arrow on a chart candle on which two user input ema’s cross, thank you.

    #213767 quote
    robertogozzi
    Moderator
    Master

    There you go:

    Offset  = average[50,0](range)         //offset to plot arrows
    FastSMA = average[10,0](close)
    SlowSMA = average[50,0](close)
    IF FastSMA CROSSES OVER SlowSMA THEN
       DrawArrowUP(BarIndex,low - Offset) coloured("Green",255)
    ELSIF FastSMA CROSSES UNDER SlowSMA THEN
       DrawArrowDOWN(BarIndex,high + Offset) coloured("Red",255)
    ENDIF
    RETURN
    Berwick thanked this post
    #213775 quote
    Berwick
    Participant
    New

    Hi Roberto, thank you very much for that, I have changed the MA values and the method to to exponential, it works just as I wanted, many thanks again, John.

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

EMA cross arrows indi or script


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Berwick @berwick Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Berwick
2 years, 9 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 04/26/2023
Status: Active
Attachments: 1 files
Logo Logo
Loading...