NexusFi: Find Your Edge

Home Menu


Buy at LOW and Sell on HIGH of a candle, is this a BUG? How's possible?

Discussion in MultiCharts

    1. trending_up 1,399 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 2 attachments

Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now, It is Free
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.

-- Big Mike, Site Administrator

Available coupon codes for premium Elite Membership:
  • If you are a researcher and pay attention to details, you qualify for our 10% discount - "CHARTIST"
  • If you are a veteran or in public/community service, you qualify for 15% discount - "PURPLECHART"
  • If you are 60+ years old, you qualify for our 20% discount - "WISDOM"
  • Discounts are based on the honor system. If we can't trust you to do the right thing, please move along.

(If you already have an account, login at the top of the page)

Search this Thread

Buy at LOW and Sell on HIGH of a candle, is this a BUG? How's possible?

(login for full post details)
  #1 (permalink)
Trieste Italy
Posts: 162 since Feb 2018
Thanks Given: 131
Thanks Received: 25

Hello everyone,

I have a verysimple strategy that work of 30 minutes chart that use the supertrend and it sellshort just 1 tick BELOW a roof of the ST or BUY 1 tick ABOVE the floor of a ST.
So there's nothing particular in my code that is like:

sellshort(NumToStr(barinterval,0) + "m Short") 1 contract next bar at IntPortion(st[2] ) - 1 + EntryOffset limit;

// and for buy

buy(NumToStr(barinterval,0) + "m Long") 1 contract next bar at IntPortion(st[2] ) + 1 - EntryOffset limit;
EntryOffset is ZERO.
So As you can see it simply buy and sell at just one tick from the floor/roof of the super trend ... I'm using the Super Trend Value of 2 bars ago just to be sure that it is the correct value and I'm not in the mibble of a change of trend.

Anyway... the backtest of the last months is showing ONLY perfect entries at the correct prices. But looking back more than a month I can see strange entries as you can see in the image below. It enter long at the LOWEST price of the candle and that's impossible and it is also not the limit order showed above that in real market would be triggered for sure before reach the extreme of the tail of a caldle.... So supposing that it's not magic... is that a BUG?? How could you explane that?


Please note... in the last month all entries are perfect... in the past there are a lot of strange cases like this.

Please share your thoughts.



PS: Just for reference those are an example of 3 perfect entries of the strategy


Reply With Quote

NexusFi Trading Community Platforms and Indicators MultiCharts > Buy at LOW and Sell on HIGH of a candle, is this a BUG? How's possible?

Last Updated on February 3, 2020

© 2023 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts