Buy on next candle after buysignal

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #229794 quote
    kvacksa87kvacksa87
    Participant
    Junior

    hello. I wonder if I can add to the code that when it receives a buy signal, it should wait and buy on the next 30 minute bar at the previous high – 15 pips which in this case is a card instead of it buying a card at the lowest and vice versa about when the strategy is long

    Screenshot_2024-03-14-18-52-21-45_40c520d53fccdd78ab16fa5075625c85.jpg Screenshot_2024-03-14-18-52-21-45_40c520d53fccdd78ab16fa5075625c85.jpg
    #229818 quote
    Iván GonzálezIván González
    Moderator
    Legend

    Hi,

    You can modify the buy order type just with this:
    – Enter in the next bar open: buy 1 contract at market
    – Enter in the next bar if the price is over the stop: buy 1 contract at high stop In this case the trigger is the high
    – Enter if the next bar if the prices is below the limit: buy 1 contract at high limit In this case the system will buy only if the price is <= high previous bar.

    regards

    #229847 quote
    kvacksa87kvacksa87
    Participant
    Junior

    Thank you i will try that

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

Buy on next candle after buysignal


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
kvacksa87 @kvacksa87 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by kvacksa87kvacksa87
2 years, 6 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 03/14/2024
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...