Buy or sell after price happen

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

    Hi, I am looking to see if is possible to buy or sell after the signal happens, meaning if I have a formula that produces a signal or entry to go short or long I am looking to testing if I can buy a high price or a low price from the signal:

    The example I have a singal to buy EURUSD at 11,000 I will like to buy after that price maybe 200 points up so at 11,200.

    Can someone help, please

    Thanks

    #110042 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    Offset = 200 * pipsize
    If MyLongSignal and not OnMarket Then
       Buy 1 contract at MyPrice + Offset Limit
       Set Target pProfit 100
       Set Stop    pLoss   50
    Endif
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

Buy or sell after price happen


ProBuilder: Indicators & Custom Tools

New Reply
Author
Summary

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

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 10/13/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...