Buy a long every week if the high is higher than the last high

Forums ProRealTime English forum ProOrder support Buy a long every week if the high is higher than the last high

Viewing 7 posts - 1 through 7 (of 7 total)
  • #228381

    Hi,

    if a daily high is higher than the high of the last week  it is a buy. The position should be closed after 6 days, but this don’t happen, i dont know why?

     

    #228406

    Add these lines after line 17:

     

    1 user thanked author for this post.
    #228424

    Thanks, but this didnt solve the problem. With this lines ther will be only one contract in the market, but the buy condition “higher than the high the week before” is every week possible. The problem seems to be that there is no sell if the buy condition is reached.

    For example:

    1th Day buy condition –> buy a contract at market

    7 th Day buy condition for the second week –> buy a contract at market

    7th Day sell condition for the first contract “sell after 6 days” reached, but there isnt a sell, the sell is not executed

     

    #228472

    PRT has so many limitations, I think maybe it’s better not to do such things in PRT.

    #228477

    Why do you enter LONG twice?

     

    #228504

    Because the entry condition can be reached every week.

    #228527

    You are NOT checking “higher than the high the week before”. You are checking CROSSOVERs, instead, why?

     

     

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

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