Hello,
i've just discovered the power of global variable.
I've coded an indicator that gives the number of shares and the stop loss for each US stock of a watchlist.
This watchlist is linked to my masterchart and my DOM.
When i click on a stock of the list i would like to send directly the number of shares to the linked DOM.
Is it possible to do it or to create a custom button to launch a macro (like Excel) ?
Attached file is the watchlist with stop and size(last column) calculation for each stock.
Send GV to DOM
-
- Posts: 114
- Joined: 12 Jul 2015
- Has thanked: 20 times
- Been thanked: 16 times
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: Send GV to DOM
I don't think this is possible because PowerLanguage, as far as I know, cannot notice whether or not a stock in the list has been clicked on. So a script cannot execute and send something to Excel.When i click on a stock of the list i would like to send directly the number of shares to the linked DOM.
Is it possible to do it or to create a custom button to launch a macro (like Excel) ?
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times