ForceIndex indicator not working in automated strategy

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #234526 quote
    Kovit
    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
    robertogozzi
    Moderator
    Master

    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
    Kovit
    Participant
    Senior

    Many Thanks Robert

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

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 Kovit
1 year, 7 months ago.

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