NexusFi: Find Your Edge


Home Menu

 





Hints, Tips & Gocthas


Discussion in MultiCharts

Updated
    1. trending_up 2,746 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 2 posts
    2. attach_file 1 attachments




 
Search this Thread

Hints, Tips & Gocthas

  #1 (permalink)
 NW27 
Newcastle, Australia
 
Experience: Intermediate
Platform: Multicharts 8 - Full Version
Broker: IB
Trading: SPI,FTSE100, 6E, 6A
Posts: 285 since Oct 2010
Thanks Given: 108
Thanks Received: 188

Hi All,

To assist other Multicharts users, I thought it would be beneficial to have a this thread where others could share any Hints, Tips & Gocthas that they have discovered with Multicharts.

Tip 1. (Study / Indicator creation)
Multicharts has two loops that things such as Indicators, functions and signals are processed on.
1) The tick loop
2) The bar completion loop
What this means, is that unless a tick comes in , then none of the loops will be processed. (Ticks make the bars)
As an example of this potential problem. When I created the "NWT Bar Timer" I noticed that sometimes the final 10second reminder was not firing. This was because there were no ticks coming in , in the last ten seconds of the bar. Unless a tick comes in, then none of the studies functions or signals gets processed.
This is why it is very difficult to make time based calculations, because the loops do not happen at a specific rate but happen at the rate the tics come in at.

Tip 2. (Study/Indicator usage)
Studies (Indicators) that rely on being processeed bewteen each bar, as in the above "NWT Bar Timer" used on a 5min chart, require the "Update on every tick" property to be set.

Tip 3. (Signals)
Buy/Sell signals are only valid for the current/next bar. As an example
Buy("LE") 1 contract next bar at High+1 on stop;
This Buy signal is only valid for the next bar. If you had intended this price level to be valid for the rest of the day, then the code needs to be written differently. Ie do not use the High but create your own variable and ensure the Buy is processed on every loop.
If my setup=long then
MyLongEntry = High+1;
I f MarketPosition = 0 then
Buy("LE") 1 contract next bar at MyLongEntry on stop;


Neil.

Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Increase in trading performance by 75%
The Elite Circle
ZombieSqueeze
Platforms and Indicators
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
27 thanks
Tao te Trade: way of the WLD
23 thanks
Diary of a simple price action trader
22 thanks
My NQ Trading Journal
14 thanks
GFIs1 1 DAX trade per day journal
9 thanks
  #2 (permalink)
 
MultiCharts's Avatar
 MultiCharts 
Columbus, Ohio, US
 
Experience: Intermediate
Platform: MultiCharts
Broker: Multiple/Multiple
Trading: ES, EUR/USD
Posts: 168 since Oct 2010
Thanks Given: 74
Thanks Received: 172


NW27 View Post
Tip 1. (Study / Indicator creation)
Multicharts has two loops that things such as Indicators, functions and signals are processed on.
1) The tick loop
2) The bar completion loop
What this means, is that unless a tick comes in , then none of the loops will be processed. (Ticks make the bars)
As an example of this potential problem. When I created the "NWT Bar Timer" I noticed that sometimes the final 10second reminder was not firing. This was because there were no ticks coming in , in the last ten seconds of the bar. Unless a tick comes in, then none of the studies functions or signals gets processed.
This is why it is very difficult to make time based calculations, because the loops do not happen at a specific rate but happen at the rate the tics come in at.

First, thank you for creating this thread. Seems useful to me. Regarding your first Tip - for times like this we created the RecalcLastBarAfter(seconds) keyword, which lets you force a calculation based on a timer, as opposed to waiting for a tick to come in. You should experiment with this keyword to see how it can improve the timeliness of your calculations. This would be the thrid, time-based, 'loop'.

MultiCharts - Raising the Trading Standard.
Please send me a private message if you have any further questions about MultiCharts
Follow me on Twitter Reply With Quote
Thanked by:
  #3 (permalink)
 
atata's Avatar
 atata 
Calgary, AB
 
Experience: Intermediate
Platform: NT, IB, TOS, MC
Broker: IB, Rithmic
Trading: CL, ES, GC, ZS, ZB
Posts: 116 since Mar 2010
Thanks Given: 90
Thanks Received: 99


I wonder if the attached along with the code shall be under this thread?! I've found it useful in my development efforts.
I've found the original code as a public domain and modified it a little bit for my liking.
It is a visual presentation of current day's equity while trade in progress live and can be used for back testing as well.

atata

Attached Thumbnails
Click image for larger version

Name:	_TodayEquity.PNG
Views:	167
Size:	70.2 KB
ID:	45783  
Reply With Quote




Last Updated on August 7, 2011


© 2024 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