ForceIndex indicator not working in automated strategy

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #234526 quote
    KovitKovit
    Participant
    Senior

    Hello the ForceIndex indicator doesnt seem to be working for me. I have only recently returned to ProRealtime trading so I could be missing something obvious.

    c6 = ForceIndex(close)<=0

    Trying to add this into a ProRealtime automated trading strategy but whatever value I choose it has no impact on existing strategy, what am I doing wrong ? 🙂

    Many Thanks

    #234533 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    You can use this custom version:

    //               Force Index
    //
    // https://school.stockcharts.com/doku.php?id=technical_indicators:force_index
    //
    Periods = 15
    Periods = max(1,min(999,Periods))
    FI      = ((close - close[1]) * volume)
    FIema   = Average[Periods,1](FI)
    RETURN FI AS "Force Index",FIema AS "Signal",0 as "Zero"
    Kovit and Iván González thanked this post
    #234538 quote
    KovitKovit
    Participant
    Senior

    Many Thanks Robert

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

ForceIndex indicator not working in automated strategy


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Kovit @kovit Participant
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 06/29/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...