NexusFi: Find Your Edge


Home Menu

 





Detecting witch Data is in use


Discussion in MultiCharts

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




 
Search this Thread

Detecting witch Data is in use

  #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 [AUTOLINK]Backtesting[/AUTOLINK] • 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?
Cheap historycal L1 data for stocks
Stocks and ETFs
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
MC PL editor upgrade
MultiCharts
How to apply profiles
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
What is Markets Chat (markets.chat) real-time trading ro …
72 thanks
Spoo-nalysis ES e-mini futures S&P 500
55 thanks
Just another trading journal: PA, Wyckoff & Trends
28 thanks
Bigger Wins or Fewer Losses?
24 thanks
The Program
16 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 [AUTOLINK]Backtesting[/AUTOLINK] • 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,460 since Jun 2009
Thanks Given: 33,234
Thanks Received: 101,655



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 futures.io (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 Twitter 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


© 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