Problem with my coding (Lines 12 & 17)

Forums ProRealTime English forum ProBuilder support Problem with my coding (Lines 12 & 17)

Viewing 3 posts - 1 through 3 (of 3 total)
  • #143427

    Hi,

    Good morning and hope you are in good health.

    Please can you check the following code – the program does not like lines 12 & 17.

     

    #143428

    Firstly OFFSET could not have a 1:1 ratio with price, so you’d better write it as

    Secondly TRADEPRICE is not known until a bar has elapsed since you last opened a position, thus it can be 0 the very first trade or the closing price of the previously closed trade.

     

     

    #143439

    patel_kaushik – Always use the ‘Insert PRT Code’ button when posting code in any future topics to make it easier for other to read/copy – as per the forum rules. I have tidied up your last post.

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login