- Search Crypto Craft
- Kenz987 replied Sep 6, 2009
1: Irtron's script gives the index. Also, there is a Windows function in MQL to give it (WindowFind). 2: url IsZoomed Function The IsZoomed function determines whether a window is maximized. Syntax BOOL IsZoomed( HWND hWnd ); Parameters hWnd [in] ...
How to get the total number of pixels of a window?
- Kenz987 replied Sep 6, 2009
That is dependent on your broker. Find a broker that allows 0.01 - maybe IBFx, FxPro, BroCo, many others.
reduce minimum backtest volume to 0.01 lot
- Kenz987 replied Sep 5, 2009
Thanks Irtron. I learned a lot about device context and pixels. Xecret: Do you use wingdings in those output buffers to get the squares - if so how do you change them from one bar to the next? Thanks, Ken
How to get the total number of pixels of a window?
- Kenz987 replied Sep 4, 2009
I tried to get the white line on the border, but could not do it. Even on the yellow line, it finds x = 6 first, don't know why the first 5 are missed. Maybe there's something I missed. You now have something to work with.
How to get the total number of pixels of a window?
- Kenz987 replied Sep 4, 2009
here it is — To test: Open a chart, place a RSI on chart, set a level at 100% yellow, do not set any more levels. Run this SCRIPT. It finds the yellow line relative to the client area (ie your screen area). So, in your app, get the highest ...
How to get the total number of pixels of a window?
- Kenz987 replied Sep 3, 2009
? — Can you tell us what you are trying to do? How are you going to place these labels on the sub-window - with ObjectCreate? It takes a time and price (or indicator % - I guess). So to get the top most limit you just loop thru the price index ...
How to get the total number of pixels of a window?
- Kenz987 replied Sep 3, 2009
great idea — API. Great idea. The sub-window is window 2. Maybe the same logic will work if you get the handle to sub-2..??
How to get the total number of pixels of a window?
- Kenz987 replied Sep 2, 2009
see windows functions — Like: int WindowBarsPerChart()Function returns the amount of bars visible on the chart. Sample: // work with visible bars.int bars_count=WindowBarsPerChart();int bar=WindowFirstVisibleBar();for(int i=0; i<bars_count; ...
How to get the total number of pixels of a window?
- Kenz987 replied Sep 1, 2009
Mentors: ProactTraders in Austin, Texas Mostly free webinars. Professionals. (I have no connection with them).
MENTOR Required!
- Kenz987 replied Aug 31, 2009
Ron, You want the value of each digit? Convert it to a string and sub-string it.
Getting that 5th digit?
- Kenz987 replied Aug 30, 2009
Since money is no object, open a corp and trade thru that.
Brokers for Under 21?
- Kenz987 replied Aug 29, 2009
Sleep(iXMilliSeconds) — Most all functions accept variables. If in doubt, code a simple script and run it. The compiler is a good teacher. int iXMilliSeconds = 500; Sleep(iXMilliSeconds) //for now iXMilliSeconds = 1500; Sleep(iXMilliSeconds) ...
Five dollar programmer
- Kenz987 replied Aug 29, 2009
It's not possible in real-time without indicators, but you could download tick data from Gain and import it into MT4 (actually reformat it to hst format). I've posted indicators that will collect tick data and write it to hst. I prefer to just use ...
MT4 and Tick charts? without Indi's ..is it possible?
- Kenz987 replied Aug 29, 2009
Bill Who ? — I've posted this before, it fell on deaf ears. Bill Gates will teach you for free - there is an Express package on his web site (Microsoft or MSDN) with all sorts of tutorials and free compilers. Most of you wanna-be EA writers ...
Five dollar programmer
- Kenz987 replied Aug 29, 2009
You might try the turtle trader's web site. They have lots of history. ps: Also, since the crude contract rolls every month, for longer term analysis it might be better to use an ETF - like oil services or something - I don't know of one that tracks ...
I am looking for Oil history data for mt4
- Kenz987 replied Aug 27, 2009
data type ? — What is the data type of file handles? Highlight FileOpen and hit F1.
Need help on csv
- Kenz987 replied Aug 24, 2009
Novell Certified Engineer - you still using that?
Programming Help for MT4 W/NCE
- Kenz987 replied Aug 21, 2009
There are certain errors that can happen that should cause your system to halt. Error checking is worth the trouble.
Need a coding advice......
- Kenz987 replied Aug 21, 2009
Try this script — Rename .txt to .vbs Edit it with notepad and change the folder in/out names. ps: This should work for 1 minute data. I did not test other timeframes. Also, if you are needing to merge data already loaded into NT with some txt ...
MetaTrader Data Export--> Ninja Trader Data Import
- Kenz987 replied Aug 21, 2009
What time frame? It's different for minutes vs daily...
MetaTrader Data Export--> Ninja Trader Data Import