Additional BUY/SALE orders

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

    Hello Community,

    it would be great if one of you could give me some advice on my following problem.

    How can I add additional BUY/SALE orders to the code below. My problem is that if my

    strategy opens a BUY order for example and another BUY signal appears later my strategy didn’t

    open an order.

    ——————————————————————-

    indicator1 = RSI[20](close) c1 = (indicator1 CROSSES OVER 25)

    IF c1 THEN BUY 1 CONTRACT AT MARKET ENDIF

    ????

    ——————————————————————-

    #13982 quote
    ElsborgtradingElsborgtrading
    Participant
    Veteran
    Try this:
    Defparam cumulateorders = true
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

Additional BUY/SALE orders


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
EricD @ericd Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by ElsborgtradingElsborgtrading
9 years, 12 months ago.

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