- Search Crypto Craft
-
sangmane replied Jan 6, 2011you can use OrderType() if(OrderType()==OP_BUY || OrderType()==OP_SELL) { //opened order } See order type constant on MetaEditor help
Quick beginner MQL4 question: Pending vs Placed trades
-
sangmane replied Jan 4, 2011Nor your enemy. he is just another guy
Without knowing market volatility, trend means nothing That's what SL and TP are for. For exit... There are many trading "systems" use complex TA for entry, and account equity for exit. Money management...IMHO - Hints for Trading
-
sangmane replied Jan 3, 2011What about this one? //+------------------------------------------------------------------+ //| PT GRID.mq4 | //| Copyright
2010, Oneday | //| | //+------------------------------------------------------------------+ #property copyright "Copyright ...How do you move objects with mql4?
-
sangmane replied Jan 3, 2011I thought your problem was why the vertical line didn't move back to the predefined time (Time_1) after you moved it manually. With your previous code, if you move the vert line manually, it won't revert back to its initial position. But if you ...
How do you move objects with mql4?
-
sangmane replied Jan 3, 2011hi oneday, check this part: if(Time_1 != ObjectGet("LeftTimeExtent",OBJPROP_TIME1)) { //Time_1 = ObjectGet("LeftTimeExtent",OBJPROP_TIME1); //uncomment Print("Time_1 = ",TimeToStr(Time_1,TIME_DATE)); ...
How do you move objects with mql4?
-
sangmane replied Nov 21, 2010hi lc, see if this indy meet your needs
Need Help Coding Price Action Indicator
-
sangmane replied Nov 19, 2010One day I believe you can! I have made a sample on how to send data from Excel to MT4 and having MT4 replied back to Excel using Named Pipe. So this is a two way comm, although on this scheme, Excel have to be the initiator (I don't think we can ...
Trading using Excel and MT4?
-
sangmane replied Nov 19, 2010mer, check attached file

Adding a decimal point to fix spread calculation?
-
sangmane replied Nov 17, 2010hi angelo, it seems impossible to totally remove those yellow hints box if that what you meant by "object description". i have removed code that adding object description. it should now give less text in the hint box
Support and Resistance Indicator
-
sangmane replied Nov 16, 2010ah si akang bisa aja.. re script for timer, you can use while loop and put Sleep(int milliseconds) inside the loop. or, am i missing something?
Get binary data from with wininet.dll
-
sangmane replied Nov 16, 2010change spread for backtesting — Hi scalpz, I just made a script for set historical spread of a pair. To use it: - Attach script to chart (lets say EUR/USD). This script will copy symbols.sel contents, modifying spread for EU and save the ...
Spread used by StrategyTester
-
sangmane replied Nov 16, 2010hi pg, that script is for text file. attached is my script for downloading binary file. hth, sangmane
Get binary data from with wininet.dll
-
sangmane replied Nov 16, 2010MT4 save spread data for each pair in a file named symbols.sel. This file located on history folder, along with all hst files. hth
Spread used by StrategyTester
-
sangmane replied Nov 14, 2010hi kaza, what you got aren't random values. in your code, arrayLows2 was sorted based on time. so, the result are the first 3 bar's low on your daily chart, measured from the left most bar. you can try this way: double arrayLows[], arrayLows2[1]; ...
sorting the Low value series
-
sangmane replied Nov 12, 2010hi todd, pls check attached ea, test it on demo first. its a quick code.
RSI Auto-Exit on manual entries?
-
sangmane replied Nov 11, 2010do you mean MT4 client running an image streaming service? have you ever checked packet size sent by mt4 client to broker's server? if mt4 client send chart's screenshot continuously, how much bandwidth would it take? imagine if you have 18 chart ...
Can MT4 Brokers see your EA/Indi
-
sangmane replied Nov 8, 2010i thought your problem was how to combine script and EA, ie how to retrieve script settings from EA (using glb var)?
Start an EA from a script?