- Search Crypto Craft
-
sangmane replied Aug 5, 2010if you want to use numbar / NumberOfBars to limit the lookback: int limit; int counted_bars = IndicatorCounted(); //---- check for possible errors if (counted_bars < 0) counted_bars = 0; //---- last counted bar will be recounted if (counted_bars > ...
num_bar parameter
-
sangmane replied Aug 3, 2010Jeff, Whether numbar value will decrease/increase cpu usage, it depends on what the role of numbar in indicator. As kenny has pointed out, most common use of numbar is to limit the lookback. So the smaller numbar will give faster loading. But after ...
num_bar parameter
-
sangmane replied Aug 3, 2010Hi Fellow Asian, Seeing the code, I think it comes from an old MQL indicator (version 2?). The variable named "commodt", the use of equation "frame=Time[4]-Time[5]" remains me of the old T3 indicator. See this link: url and url I don't think MT4 ...
num_bar parameter
-
sangmane replied Aug 2, 2010Hi Razzle, Twitter will change authorization scheme from Basic to OAuth in mid August. As for now, I'm yet to find C++ library for Twitter+OAuth for Win32. The experiment I've taken so far was using Webserver (with PHP) as middleman. So the route is ...
How to direct my EA entries to my website?
-
sangmane replied Jul 31, 2010hi kp, to send your entry data to website, you can use two files below. 1. post_trade.mqh, contain function that will send entry data to web via http by utilizing wininet.dll. Make sure you enable dll calling. Put this file in "experts/include" ...
How to direct my EA entries to my website?
-
sangmane replied Jul 30, 2010you should provide trading rules, like buy if macd.. and rsi..
Easy system for coder
-
sangmane replied Jul 28, 2010Use FileNameHistory to tell the script which pair and TF you want to export. If FileNameHistory=EURUSD2.HST, this script will export history data of EURUSD M2, regardless what chart you put the script on.
How to backtest Renko?
-
sangmane replied Jul 26, 2010don't compile mqh. just compile EA mq4 file that include those mqh. all lines in mqh will be appended to mq4 file
Can I get a little help with EA which includes many functions?
-
sangmane replied Jul 26, 2010Suppose that your renko bars is generated on EURUSD chart, RenkoTimeFrame = 2, Run the script with FileNameHistory=EURUSD2.HST, FileNameCSV = EURUSD2.CSV. Once the script finished, you will find a file named EURUSD2.CSV in experts/files folder
How to backtest Renko?
-
sangmane replied Jul 26, 2010What do you want do? Convert offline chart (hst format) to csv OR convert csv format to hst format? HST2CSV is for converting hst to csv.
How to backtest Renko?
-
sangmane replied Jul 25, 2010Hi bj, Below is a script that will convert history file (in the format *.hst) to CSV. Offline chart's data is saved in history file. To open it you should use FileOpenHistory(handle,..). Set FileNameHistory to the name of the history file, excluding ...
How to backtest Renko?
-
sangmane replied Jul 24, 2010this script create new file and write string to a file using Win API
How to write to other directories in mt4
-
sangmane replied Jul 23, 2010open the indicators on meta editor, add IndicatorDigits(5) //---- name for DataWindow and indicator subwindow label IndicatorShortName("TRIX index | Period: "+TRIX_Period+", Signal Period: "+Signal_Period+" | "); SetIndexLabel(0,"TRIX"); ...
5 digits fro trix and mtf trix
-
sangmane replied Jul 23, 2010Hi Jack, OBJ_LABEL drawn based on screen coordinate. OBJ_RECTANGLE and all the other drawn based on time and price coordinate
Drawing Objects in MQL
-
sangmane replied Jul 21, 2010Glad to see it works
You can use a script to do that. So, every time you open a new trade, run that script which will look for the latest trade on your order's pool, form the proper query string (ticket=xxxx&pair="xxxxxx"&...) and send it to your ...How to direct my EA entries to my website?
-
sangmane replied Jul 21, 2010Hi Md, As per your pm: Pls check the attached shooting star alert. I haven't tested it fully. Let me know your result
Requesting programmer assistance with custom indicator
-
sangmane replied Jul 20, 2010Hi, You have a nice database name
To make things easier, you can follow my way. Later on, you can adjust/optimize it to suit your need. I use 2 php file: One file named post_trade.php. I use it to insert trade record to table in the mysql db. It ...How to direct my EA entries to my website?
-
sangmane replied Jul 20, 2010That's just a sample. There is more to do before you can go to the final result. But if you have a patience, I believe : YES WE CAN First, I want to know that your database info (dbname, dbuser, db pass) is correct. Create one file name test.php ...
How to direct my EA entries to my website?