Exit within the next 4 bars if higher than entry price on market

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #236091 quote
    Kovit
    Participant
    Senior

    Hi guys,

    Apologies again for my inability to code can anyone help with this?

    Thanks in advance and best of luck with your endeavors.

    #236097 quote
    JS
    Participant
    Senior

    Hi,

    If (BarIndex-TradeIndex(1))<=4 and Close>TradePrice(1) then

    Sell at Market

    EndIf

    Kovit and Iván González thanked this post
    #236100 quote
    Kovit
    Participant
    Senior

    Thank you JS.

    JS thanked this post
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Exit within the next 4 bars if higher than entry price on market


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Kovit @kovit Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Kovit
1 year, 7 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 08/03/2024
Status: Active
Attachments: No files
Logo Logo
Loading...