Not sure why Multichart cannot follow my logic on the following coding - futures io
futures io



Not sure why Multichart cannot follow my logic on the following coding


Discussion in MultiCharts

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




Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • 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 and simple.

-- Big Mike, Site Administrator

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

 
Search this Thread
 

Not sure why Multichart cannot follow my logic on the following coding

(login for full post details)
  #1 (permalink)
lewisgthegood
Tuen Mun
 
 
Posts: 2 since Mar 2021
Thanks: 0 given, 0 received

Setting:
- 1 tick bar
- Dot on close bar
- [IOGMode(IOGMode.Enabled)]

Background:
I have a bool "buySignal" variable, long order will be sent if
1.buySignal is true and
2. -0.03 < percentage change is < 0.03 and
3.Bars.Close[0] != Bars.Close[1]

I have used "Output.WriteLine" to debug and try to see when these conditions become "true". However, I found out that even if all the above mentioned conditions are all "true", long order still did not send. I am so confused and not sure if it is my logical error or Multichart's system limitation.

I have attached the result ran on the Multichart and my codings.

****************
Question:
Why the first long order sent at 10:14? I think the first Bar.close[0]<Bar.close[1] already happened at around 9:33: (the dot lower than the previous dot) and all other conditions are already met, why long order did not send at that moment?

And I noticed that there are lot times that Bar.close[0]<Bar.close[1] and all other conditions are met, long order still did not send out.

Please advice it is my logical error, or system limitation?

Attached Thumbnails
Click image for larger version

Name:	Bars.JPG
Views:	29
Size:	101.6 KB
ID:	310426  
Reply With Quote

Journal Challenge April 2021 results:
Competing for $1800 in prizes from Jigsaw
looks_oneMaking a Living with the Microsby sstheo
(620 thanks from 61 posts)
looks_twoSalao's Journalby Salao
(163 thanks from 29 posts)
looks_3Learning to Profit - A journey in algorithms and optionsby Syntax
(115 thanks from 27 posts)
looks_4Deetee’s DAX Trading Journal (time based)by Deetee
(94 thanks from 30 posts)
looks_5Maybe a little bit different journalby Malykubo
(53 thanks from 32 posts)
 
Best Threads (Most Thanked)
in the last 7 days on futures io
I finally blew up an account
124 thanks
The Crude Dude Oil Trading System
85 thanks
Spoo-nalysis ES e-mini futures S&P 500
65 thanks
The tiyfTradePlanFactory indicator
31 thanks
Building a Crypto Mining Rig
19 thanks
 
(login for full post details)
  #2 (permalink)
 SEGroup 
Kalamazoo MI
 
Experience: Advanced
Platform: MultiCharts
Trading: Futures
 
Posts: 2 since Feb 2013
Thanks: 0 given, 0 received

I do not have sufficient information, nor your exact coding to debug your issue, however, some consideration you might need to address are:
  • Check the Order and Position Tracker Window for a possible reason why the order was not sent.
  • Are you sure that the order was not sent, or just not filled?
  • Also, expecting to get a fill on a one tick bar is way over optimistic. In MultiCharts, orders are only active for the current bar, and are only renewed if the conditions that caused the original triggering of an order are still true on subsequent bars.
  • A single order in the market has the potential of generating many, multiple one tick bars, all with the same timestamp.
  • Building one tick strategies, where trades only last for a one tick bar or two, will generally not work very well, if at all, given all of the idiosyncrasies of the market (fills, slippage, etc.).

Good luck with your strategy.

Reply With Quote


futures io Trading Community Platforms and Indicators MultiCharts > Not sure why Multichart cannot follow my logic on the following coding


Last Updated on March 14, 2021


Upcoming Webinars and Events

NinjaTrader Indicator Challenge!

Ongoing

Journal Challenge w/$1,800 in prizes!

May 7

The Cold Hard Truth: Maybe I Am Not Good Enough w/Chris Gray @ Earn2Trade

Elite only
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), info@futures.io
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.
no new posts