Average Entry calculation

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

    Hi,

    I have a system for multiple entries. My problem is the system is not calculating my stop from the average entry price as the manual says it should. It keeps it linked to the individual entry.

    Steve

    #194951 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    You can disable the stop loss (set stop loss 0) and calculate your stop loss according to POSITIONPRICE (the average entry price) to place a pending STOP order, instead.

    #195019 quote
    NicolasNicolas
    Keymaster
    Legend

    or set a stoploss at a price below the average position price, example:

    //set stop loss at average position - 10 points 
    set stop price POSITIONPRICE - 10*pointsize
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

Average Entry calculation


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
steveng @steveng Participant
Summary

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

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