fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. daedalus
    D
    • Profile
    • Following 0
    • Followers 1
    • Topics 3
    • Posts 6
    • Best 1
    • Controversial 0
    • Groups 0

    daedalus

    @daedalus

    1
    Reputation
    246
    Profile views
    6
    Posts
    1
    Followers
    0
    Following
    Joined Last Online

    daedalus Unfollow Follow

    Best posts made by daedalus

    • RE: A simple inside bar... will be the end of me.

      Thank you so much for the help! I think what i'm running up against is I just started using TickStory for 99.9% modeling and i've got some weird thing where the data i exported maybe didn't do both the fxt and hst files or something so the trades just are firing where there aren't candles shown on the chart to trade....

      Yet the same EA exported to another broker MT4 the trades function perfectly and show up on the chart where IB's actually are.

      Off to annoy tickstory with questions...

      Roar - Truly appreciate you taking the time to make sure i'm not insane.

      posted in Questions & Answers
      D
      daedalus

    Latest posts made by daedalus

    • RE: Expiration Time on Pending Orders vs. Live Executed Orders

      Figured out a workaround. Just posting for future search helpfulness for someone else. I left the expiration set in minutes as you see above in post one and then I used a new for each trade modify expiration block so that every trade that fills automatically kills the expiration and sets it to "no expiration" and problem solved.

      Cheers.

      0_1619813184663_Screenshot 2021-04-30 150448.png

      posted in Questions & Answers
      D
      daedalus
    • Expiration Time on Pending Orders vs. Live Executed Orders

      I've been backtesting a strategy that uses a simple buy/sell pending order block with an order expiration time so I can tune an input of minutes to cancel an order that has not yet filled in a given amount of time.

      In the backtests this executes correctly only killing pending orders and leaving filled orders in that time amount to run with their intended logic. However, running the strategy live on Demo however the expiration time seems to be closing filled orders as well at the expiration time (not just pending orders).

      Is there a way to only have this block kill pending orders and not live orders that have filled?

      0_1619745306323_Screenshot 2021-04-29 201433.jpg 0_1619745309444_Screenshot 2021-04-29 201454.jpg

      posted in Questions & Answers
      D
      daedalus
    • RE: Quick Average Daily Range

      You're absolutely correct that would be a way easier way to do it. Thanks for the input - i'll go that route instead.

      posted in Questions & Answers
      D
      daedalus
    • Quick Average Daily Range

      Hey guys just trying to build a simple Average Daily Range calculation into an array that I can access. Can you check what i've built and see if there is a more efficient way to do this? I'm not great at coding but i've tried to place a for loop to build out the absolute values of the H/L calculation: ABS(High[i]-Low[i]) so i can store the daily ranges over the past days. But i'm running into issues actually calculating the average of those values and getting some Array out of range errors.

      https://fxdreema.com/shared/bOxV5GF1c

      I know the math behind what i'm trying to build but I obviously don't have the second loop correct in some fashion.

      ADR = (DR[1] + DR[2] + DR[3] + DR[4] + DR[5]) / Days_To_Avg

      I'm getting stuck in adding them all together before I average them I think.

      Also, how can I call the value of the DR array in a condition block? Do i need to do another block to modify a new variable before I can compare it in a condition? (I'm not aware of a way to call a value of an array in the condition block?

      posted in Questions & Answers
      D
      daedalus
    • RE: A simple inside bar... will be the end of me.

      Thank you so much for the help! I think what i'm running up against is I just started using TickStory for 99.9% modeling and i've got some weird thing where the data i exported maybe didn't do both the fxt and hst files or something so the trades just are firing where there aren't candles shown on the chart to trade....

      Yet the same EA exported to another broker MT4 the trades function perfectly and show up on the chart where IB's actually are.

      Off to annoy tickstory with questions...

      Roar - Truly appreciate you taking the time to make sure i'm not insane.

      posted in Questions & Answers
      D
      daedalus
    • A simple inside bar... will be the end of me.

      I've built multiple EA's in FXDreema and love this platform. Had a REALLY simple idea i wanted to check and thought it would take 5 minutes. 8 hours later i'm contemplating throwing myself in front of a bus.

      Can you guys check my logic? All i'm really trying to do is identify an inside bar, and then set a pending buy/sell stop at the high or low of it.

      alt text

      https://fxdreema.com/shared/TaYZZB5we

      This quick example just shows the basic buy logic i was using. Can i not use "candle total size" to accomplish this? I started doing a simple High[2] > High[1] and Low[2] < Low[1] but that didn't seem to work either.

      Any suggestions?

      posted in Questions & Answers
      D
      daedalus