System levels for coding

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

    I’ve not explored this thoroughly and will put in a ticket, but I have a code entering at or below 13870 and the low is 13869.4 the close is 13869.5

    So the code should have bought when below 13870 which is clearly was.

    However the program hasn’t kicked in and is running on the 1 second chart. So based on experience I’m wondering whether this is the server issue not always executing or whether its a coding issue in relation to what the servers see as the level… my spread is mid price on charts so a quick think and I’m wondering whether it may be seeing price differently to my price level as if not then its not coding and I cant rely onthe system to execute.

    Anything obvious?

    If flc=1 and c1 =1 and close <= myentry then
    buy  myamount perpoint at market
    endif
    If flc =1 and C2 = 1 and  close >= myentry then
    sellshort myamount perpoint at market
    endif
    #161683 quote
    Philstrading
    Participant
    Senior

    Just to note this is for a manual entry of specific trades an dhas no associated orders other than the at market order to buy or sell

    #161691 quote
    Philstrading
    Participant
    Senior

    never mind that… maybe typos in code after amendments.. need to check

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

System levels for coding


ProOrder: Automated Strategies & Backtesting

New Reply
Author
Summary

This topic contains 2 replies,
has 1 voice, and was last updated by Philstrading
5 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/16/2021
Status: Active
Attachments: No files
Logo Logo
Loading...