hardware configuration

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #68192 quote
    GraHal
    Participant
    Master

    Ah gotcha, I have been misreading you altogether! 🙂

    Right I will set it going on Demo Live / Realtime and let you know!

    #68197 quote
    GraHal
    Participant
    Master

    I set it going Live and got the same error message as you within 3 minutes … so each time the code executes.

    So I changed line 60 as shown and the error message stopped. I guess it’s because there is no TradeIndex until you get your first trade? So it’s back to you now for a proper fix? 🙂

    nb = barindex - 1 //tradeindex

    PS how about maybe ?

    nb = barindex - max (1, Tradeindex)
    Nicolas thanked this post
    #68201 quote
    GraHal
    Participant
    Master

    Above works on backtest with same results.

    I’ll try it on Live now.

    #68206 quote
    irioton
    Participant
    Average

    I’ll do the same and get back to you, thank you so much.

    GraHal thanked this post
    #68210 quote
    irioton
    Participant
    Average

    Okay, live works. I don’t recommand to use it thow, i don’t like the shape of that curve. but i can work on it now, thank you again!

    GraHal thanked this post
    #68311 quote
    Nicolas
    Keymaster
    Master

    I dont know what the variable “nb” is made for, but if it is used as an indicator period, seems obvious that it can’t be negative (and that’s what happen with the first barindex), that’s why the system stopped in ProOrder. GraHal has spotted the problem (well done), seems that “sharing knowledge” is working finally here 😉

    GraHal and irioton thanked this post
Viewing 6 posts - 16 through 21 (of 21 total)
  • You must be logged in to reply to this topic.

hardware configuration


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
irioton @irioton Participant
Summary

This topic contains 20 replies,
has 4 voices, and was last updated by Nicolas
7 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/10/2018
Status: Active
Attachments: 2 files
Logo Logo
Loading...