- Search Energy EXCH
- 126 Results (10 Threads, 116 Replies)
- xecret replied Sep 4, 2009
Brilliant! I followed your method and it is working! Thank you veryyyy much. Can we follow Irtron's idea without place a yellow line, just to recognize the gap? The thing is how we can get the foreground and background color of the window.
How to get the total number of pixels of a window?
- xecret replied Sep 4, 2009
In the indicator the max and min prices are already limited as 100 and 0, so there is no need to use WindowPriceMax or WindowPriceMin. What I needed to know is "price per pixel". Price range in fact is 100-0=100, so the remaining work is to find the ...
How to get the total number of pixels of a window?
- xecret replied Sep 4, 2009
At vert line 1, H1 signaled. At vert line 2, M5 signaled. At vert line 3, M15 signaled. So I was ready to enter when the high of the bar at vert line 3 was broken. But 1.6350 is near, so I decided to see it broken. When it was broken, I entered. And ...
MTF Trix system
- xecret replied Sep 4, 2009
First trade today. Loss. Bought when 1.6350 broken, bought at the top. Stopped under daily pivot, seemed to be at the bottom.
MTF Trix system
- xecret replied Sep 3, 2009
I wrote and MTF indicator showing information in some small squares. The subwindow is limited from 0 to 100. Each line is of one timeframe. I need a lable for each line. The squares are output using buffers at a predefined level. Let's name this ...
How to get the total number of pixels of a window?
- xecret replied Sep 3, 2009
I tried using "GetWindowRect(WindowHandle(Symbol(), Period())-2, r)" and got nothing. I think the main chart window and the indicator subwindows are treated as one whole object by Windows OS. I guess it is impossible to get the subwindow size ...
How to get the total number of pixels of a window?
- xecret replied Sep 3, 2009
I think it is because of different data feed leading to mine is slightly above zero and yours slightly below zero. image
MTF Trix system
- xecret replied Sep 3, 2009
Different indicator readings... there's no signal on my chart. image
MTF Trix system
- xecret replied Sep 3, 2009
Thanks for the hints. Too compicated for me, I think I'd better give up.
How to get the total number of pixels of a window?
- xecret replied Sep 3, 2009
Great! You are really an expert! See the below pic. With this function, range X1 and Y1 can be calculated. However, what I need is Y2. Is there a way to go? Thank you very much. image
How to get the total number of pixels of a window?
- xecret replied Sep 3, 2009
Sorry for the bug — Sorry for the bug. I will fix it ASAP.
MTF Trix system
- xecret replied Sep 3, 2009
Thanks a lot. But I got nothing. Need further help. #property indicator_chart_window #import "user32.dll" int GetWindowRect(int hWnd, int rect[4]); #import int init() {return(0);} int deinit() {return(0);} int start(){ int r[4]; ...
How to get the total number of pixels of a window?
- xecret replied Sep 3, 2009
It's not difficult to get the price range and bar range, but what I need is the exact pixel range, especially for the y-axis. Thanks for the help anyway.
How to get the total number of pixels of a window?
-
How to get the total number of pixels of a window?
Started Sep 2, 2009|Platform Tech|42 repliesHi, I need to place some lable in proportion to the total number of pixels of x-axis and ...
- xecret replied Aug 31, 2009
Attn lrathi: bug fixed and new features added — My previous two versions have problem in displaying the tf lables if you put multiple of them in more than one indicator windows (but if you use multiple of them in the same window there will be ...
MTF Trix system
- xecret replied Aug 30, 2009
1. Please see this post url 2. It is normal. From a small tf you look at big tf, in small tf candle's time span you see one big tf candle. But if you look at small tf from a big tf, you see many small tf candles in the big tf candle's time span. ...
MTF Trix system
- xecret replied Aug 30, 2009
Sorry about it. But I would also suggest to use PM or e-mail for such kind of reminder, thanks.
MTF Trix system
- xecret replied Aug 30, 2009
I think the problem is because of your input of parameter "Name". In your chart you have 4 windows, which are (from top to bottom) "Main chart", "Indicator window 1", "Indicator window 2" and "Indicator window 3". The "MTF_Trix_Meter_0.1" indicators ...
MTF Trix system