NexusFi: Find Your Edge


Home Menu

 





Chart Values/Tool Values Window is missing


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Big Mike with 9 posts (0 thanks)
    2. looks_two ktrader with 6 posts (5 thanks)
    3. looks_3 omaha786 with 1 posts (0 thanks)
    4. looks_4 ejtrader with 1 posts (0 thanks)
    1. trending_up 5,027 views
    2. thumb_up 5 thanks given
    3. group 3 followers
    1. forum 17 posts
    2. attach_file 2 attachments




 
Search this Thread

Chart Values/Tool Values Window is missing

  #11 (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,469 since Jun 2009
Thanks Given: 33,247
Thanks Received: 101,669


ktrader View Post
You have to grab the window handle and do a sendmessage to it, theres a free tool that can do it: SendMessage. (by sending the message SetWindowPos)

Just a bit more help please?



Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

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 Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
What broker to use for trading palladium futures
Commodities
Cheap historycal L1 data for stocks
Stocks and ETFs
REcommedations for programming help
Sierra Chart
 
  #12 (permalink)
 Koepisch 
@ Germany
 
Experience: Beginner
Platform: NinjaTrader
Broker: Mirus Futures/Zen-Fire
Trading: FDAX
Posts: 569 since Nov 2011
Thanks Given: 440
Thanks Received: 518

Hi there,

because i have also major chart visibility/position issues due to vmware displaying modes (at different monitor sizes and the unity mode) i plan a tool that can rearrange the windows according to sample templates controlled by keyboard shortcuts. It's a common problem so i'm wondering that no tools exists yet. Because my backtesting suite currently eat up all of my ressources i can't code the tool yet. Perhaps anybody other out there.

Save:
1. Enum all Ninja Windows and get Instrument Name/Bar Type/Timeframe from title caption; Position/Size in relation to total screen and individual monitor
2. Apply some "snap to grid" calculations
3. Save setting

Load:
1. Keyboard hookup + load setup from file
2. Search ninja windows by Instrument Name/Bar Type/Timeframe and apply Position/Size/Monitor

Other Stuff:
* Move all Windows into current view
* Arrange Windows (Windows like)
* Hide set of Windows
* Apply single "Snap to Grid" / Auto-Size function
--- manualy move X charts to screen into the vectors of screen - size doesn't matter
--- Enlarge the screens to auto fit the monitor

Reply With Quote
  #13 (permalink)
 
ktrader's Avatar
 ktrader 
glostrup, denmark
 
Experience: Advanced
Platform: Custom platform
Broker: CQG
Trading: Futures, Options, Stocks
Posts: 249 since Aug 2011
Thanks Given: 152
Thanks Received: 275



Big Mike View Post
Just a bit more help please?



Mike

Hi Mike,

SendMessage i refered to earlier can only send a limited amount of messages and not the once we need ;(

To rectify the situation and my bad advice, i made a small sierra study that will recover your window

I attached the dll too..

This is quick and dirty so its not very userfriendle, heres how you do:

Find the handle with spy++

Convert the handle to decimal (windows calc have a programmer calculator that can do it).

Attache the attached study to the chart, it has one input the handle, but it has to be the decimal value of the handle not the hex one.

So a handle called 000812de would be 529118 in decimal, this is the value the study needs

Remove the study afterwards - if you dont remove it it will keep resize/reposition it

btw: i checked with a few of my sierra installation and the chartvalues window has disappeared in all of them, so it must be an update that have caused this.

--ktrader

 
Code
#include <windows.h>
#include "C:\Sierrachart\ACS_Source\sierrachart.h"

//#include "..\..\ACS_Source\sierrachart.h"

SCDLLName("My Custom Studies File Name")


SCSFExport scsf_TemplateFunction(SCStudyGraphRef sc)
{

		
	SCInputRef handle = sc.Input[0];
	if (sc.SetDefaults)
	{
		// Set the configuration and defaults
		
		sc.GraphName = "New Study";
		
		sc.StudyDescription = "Insert description here.";
		
		sc.AutoLoop = 1;
		handle.Name = "Handle";
		handle.SetInt(0);
		
		handle.SetDescription("window handle in decimL.");
		// During development set this flag to 1, so the DLL can be modified. When development is done, set it to 0 to speed up the function calling.
		sc.FreeDLL = 1;
	
	
		return;
	}

	
		HWND h = (HWND) handle.GetInt();
	if (h!=0)
		SetWindowPos(h,0,0,0,200,100,SWP_SHOWWINDOW);	
	
	// Do data processing
	
}

Attached Files
Elite Membership required to download: SCStudies.dll
Reply With Quote
Thanked by:
  #14 (permalink)
 
ktrader's Avatar
 ktrader 
glostrup, denmark
 
Experience: Advanced
Platform: Custom platform
Broker: CQG
Trading: Futures, Options, Stocks
Posts: 249 since Aug 2011
Thanks Given: 152
Thanks Received: 275

Heres a version that finds it automatically and moves it to the upper left corner with size 100,200


--ktrader

 
Code
#include <windows.h>
#include <tchar.h>
#include <iostream>
#include "C:\Sierrachart\ACS_Source\sierrachart.h"

//#include "..\..\ACS_Source\sierrachart.h"

SCDLLName("My Custom Studies File Name")


BOOL CALLBACK EnumChildProc(HWND hwnd, LPARAM lParam) {
	TCHAR title[500];
    ZeroMemory(title, sizeof(title));
	int x = GetWindowText(hwnd, title,sizeof(title)/sizeof(title[0]));
	if(_tcsstr(title, _T("Chart Values"))) {

		SetWindowPos(hwnd,0,0,0,200,100,SWP_SHOWWINDOW);	
	}

	return TRUE; 
}



SCSFExport scsf_TemplateFunction(SCStudyGraphRef sc)
{

		
	SCInputRef handle = sc.Input[0];
	if (sc.SetDefaults)
	{
		// Set the configuration and defaults
		
		sc.GraphName = "New Study";
		
		sc.StudyDescription = "Insert description here.";
		
		sc.AutoLoop = 1;
		handle.Name = "Handle";
		handle.SetInt(0);
		
		handle.SetDescription("window handle in decimL.");
		// During development set this flag to 1, so the DLL can be modified. When development is done, set it to 0 to speed up the function calling.
		sc.FreeDLL = 1;
		HWND chl = sc.ChartWindowHandle;
		HWND hwnd = GetParent(chl);
		EnumChildWindows(hwnd,EnumChildProc, 0); 		
	
		return;
	}

	
	

}

Attached Files
Elite Membership required to download: SCStudies.dll
Reply With Quote
Thanked by:
  #15 (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,469 since Jun 2009
Thanks Given: 33,247
Thanks Received: 101,669

You rock, I will try this after the close and after the webinar.

Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

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 Started this thread Reply With Quote
  #16 (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,469 since Jun 2009
Thanks Given: 33,247
Thanks Received: 101,669

Haven't forgot you, just haven't had time to do this yet. Hopefully today after close.

Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

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 Started this thread Reply With Quote
  #17 (permalink)
 omaha786 
San Diego, California
 
Experience: Intermediate
Platform: Sierra Chart
Broker: IB, OEC, Optimus, DDT
Trading: ES, ZN
Posts: 221 since Jun 2010
Thanks Given: 512
Thanks Received: 158

Save this as a .ahk file in a text editor (Notepad):

WinMove, BeginingPartofTheWindowTitle,,0,0,300,500

This will move the window to top left of the primary display and resize it to 300x500 pixels.

Visit my NexusFi Trade Journal Reply With Quote
  #18 (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,469 since Jun 2009
Thanks Given: 33,247
Thanks Received: 101,669


ktrader View Post
Heres a version that finds it automatically and moves it to the upper left corner with size 100,200


--ktrader

Confirmed! It worked, thx so much!

Mike



Join the free Markets Chat beta: one platform, all the trade rooms!

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 Started this thread Reply With Quote




Last Updated on August 24, 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