target profit function

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #163596 quote
    ndm99ndm99
    Participant
    New

    See taht there are two similar functions for target profit. I know taht this sets a limit X points above the opening price.

    set target pprofit ( two p)  see attached

    and

    set target profit   (one p)

    What is the difference ? And in which circumstances should I use them ?

     

    Also, how can one vary the target once set ( to allow for funding etc.)? Is this possible?

    e.g. buy at 100 set target 5 – is limit is 105  say a day later I want to raise this to a target price of 10 to 110 ?

    another scenario say I buy at 100 with target 15 i.e. limit 115. I then buy again at 80 – how can i get a target of average price + target, (100+80)=90 +15 =105 set for all purchases ?

    2021-03-09.png 2021-03-09.png
    #163601 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    SET TARGET PROFIT “value” and SET STOP LOSS “value”, both require a value expressed as price difference (say, close-open[1] or Sma20-high, etc…).

    PROFIT and LOSS can also be preceded by some characters:

    • p to express the required value in PIPS        (SET STOP pLOSS 30*PipSize)
    • $ to express the required value in your CURRENCY (whatever it is the symbol is still “$”)    (SET TARGET $PROFIT 500)
    • % to express the required value in a percentage  (SET STOP %LOSS 1.5)

    When you accumulate positions you cannot keep individual settings for STOP & TARGET, but there will be only ONE for all positions updated according to an average price named POSITIONPRICE.

    Calcolo-del-Prezzo-Medio-di-una-Posizione-Position-Average-Price-calculation.jpg Calcolo-del-Prezzo-Medio-di-una-Posizione-Position-Average-Price-calculation.jpg
Viewing 2 posts - 1 through 2 (of 2 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

target profit function


Platform Support: Charts, Data & Broker Setup

New Reply
Author
author-avatar
ndm99 @ndm99 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
5 years, 7 months ago.

Topic Details
Forum: Platform Support: Charts, Data & Broker Setup
Language: English
Started: 03/09/2021
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...