NexusFi: Find Your Edge


Home Menu

 





Detecting witch Data is in use


Discussion in MultiCharts

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




 
Search this Thread
  #1 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91

Hello

I post a similar question on MC forum, but no answer yet
MultiCharts: Trading Software for Automated Trading and Backtesting • View topic - How to know on witch charts indicator indicator is apply

Same indicator is applied to two instrument on a workspace. This simple indicator do detect inside bar than plot on a chart a text "IB" above the Inside bar

Now, I want to add a voice message and save some value in a global variable. I need to detect witch data is in use so I can discriminate my voice message and my saved value

Any way to do that?

Martin


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Kalshi Sets $4.13B All-Time Weekly Record as Polymarket …
Prediction Markets & Event Contracts
Iran Update May 8: Still Reviewing MOU, Demands Reparati …
Traders Hideout
Wood Mackenzie Drops $200 Oil Forecast -- Airspace Expir …
Prediction Markets & Event Contracts
Post-Summit Market Verdict: ES -1%, NQ -1.5%, 10-Year Yi …
Traders Hideout
Kalshi Rockets to $22B, Passes Polymarket in Volume -- B …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
The Pivot Point 113.6³ — Navigating the Prediction of …
26 thanks
Sober Journey With S&P
17 thanks
The Confluence Meter: A Multi-Layered Signal Framework B …
11 thanks
NT8 color choices
10 thanks
Volume Indicators
7 thanks
  #2 (permalink)
Bimi
London
 
Posts: 118 since Mar 2010
Thanks Given: 42
Thanks Received: 58


arjfca View Post
Hello

I post a similar question on MC forum, but no answer yet
MultiCharts: Trading Software for Automated Trading and Backtesting • View topic - How to know on witch charts indicator indicator is apply

Same indicator is applied to two instrument on a workspace. This simple indicator do detect inside bar than plot on a chart a text "IB" above the Inside bar

Now, I want to add a voice message and save some value in a global variable. I need to detect witch data is in use so I can discriminate my voice message and my saved value

Any way to do that?

Martin

You are giving too little information. You don't expect people to run around in circles trying to help you, do you?


Reply With Quote
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,669 since Jun 2009
Thanks Given: 33,669
Thanks Received: 102,578



Bimi View Post
You are giving too little information. You don't expect people to run around in circles trying to help you, do you?

Hi,

Please be nice. While it is true not enough information was given, the second part of your reply is rude and is not welcome here. Help keep NexusFi (formerly BMT) free of this type of behavior.

Mike




We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on X Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #4 (permalink)
 arjfca 
Montreal, Canada
 
Experience: Intermediate
Platform: Multicharts
Broker: Interactive Broker
Trading: Forex
Posts: 263 since Sep 2010
Thanks Given: 440
Thanks Received: 91

Bimi and other

Just to say that I did partially resolve my problem using: getsymbolname


A simple indicator is use to send a voice message when an inside bar do occur in one of the instrument. My quest is to determine witch instrument do have an inside bar since the same voice message is use.

Here is how to reproduce

I did try to create a wav file, but i was not able to attached it to this post

Creating a voice message:
Select or create a WAV file using https://www.google.ca/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDMQFjAA&url=http%3A%2F%2Fwww2.research.att.com%2F~ttsweb%2Ftts%2Fdemo.php&ei=M1WzUImPFYqw0QH-lYCgCw&usg=AFQjCNEogV2BXnJFR8R3Cj9b4gQhCaiQ2Q&sig2=4bK34r3ZymBHozJxlsRgrA&cad=rjt
Write a text: Inside bar.... Select Mike Voice ( no link with famous Big Mike
Select download
On the provided link, right click and select save as.... Select a file name and a disk location

In the provided code, modify your file location in the Playsound

Create a worspace with two instruments
- Applied the indicator to it

Now if you succeed to create both workspace and the sound file, you will see that it is not possible to determine witch instrument does have seen is price creating an inside bar.

 
Code
Var:
Pipvalue (.0001),
ID (0),
If Barstatus[1] = 2 then begin
   If High <High[1] and Low > Low[1] then begin
      Playsound("G:\Users\Utilisateur\Documents\Bourse\Sound\One_Hour_Valid_IB.wav");
     ID = text_new(date,time,high  , "IB" );
     value1= text_setlocation(ID, date,time, (h + pipvalue *2));
     value1 = text_setstyle(id,2,1);
     value1 = Text_setcolor(ID,blue);
     Value1 =  Text_SetSize(id, 6);
     // Saving to global variable not include in this example
  end;
end;
Martin


Started this thread Reply With Quote




Last Updated on November 26, 2012


© 2026 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 - Downloads - Top
no new posts