EMA cross arrows indi or script

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #213765 quote
    BerwickBerwick
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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
    x-4.jpg x-4.jpg
    #213775 quote
    BerwickBerwick
    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.
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

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 BerwickBerwick
3 years, 5 months ago.

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