- Search Crypto Craft
-
MT4 Order Plugin: Trade by lines with risk based lot sizing
Started Feb 22, 2011|Platform Tech|1,300 replies
This plugin inspired by some great scripts / tools available on FF that make trading easier. I ...
-
sangmane replied Feb 20, 2011check if getCalc function is exported properly, using "Depends.exe" tool
Pls help noob calling simple DLL
-
sangmane replied Feb 20, 2011your assumption is incorrect. giving those 3 scenarios, scenario 1 occurs most often, then scenario 2, then scenario 3. the farther the price went away from tp, the lower its probabilities to reach tp.
is Averaging Down Profitable?
-
sangmane replied Feb 19, 2011it seems it is correct. at the end of the script you should add command for open order: if(buysig) OrderSend(Symbol(),OP_BUY....); else if(sellsig) OrderSend(Symbol(),OP_SELL....); hth
Is this script correct?
-
sangmane replied Feb 16, 2011hi, please explain what you meant by envelope (bollinger band?) and jumping stop. a picture will help me understanding the logic. merdeka!
OrderModify Error
-
sangmane replied Feb 16, 2011hi bapxyz, object list window showed as modal window, thats why it blocks all windows behind it. to close it safely without closing MT4, press Alt-F4. but what you need is how to make this window shows normally. have you tried reinstall MT4?
Missing Object List
-
sangmane replied Feb 11, 2011i believe most attention goes to the sell order in main chart rather than to macd-cci sub window keep up the good work

MACD + CCI in one indi
-
sangmane replied Feb 10, 2011If you choose All History, as long as broker didn't remove the old history, you should be able to get initial acc balance / deposit OrderSelect(0,SELECT_BY_POS,MODE_HISTORY); double Deposit = OrderProfit(); datetime AcctOpeningDate = ...
Couple of questions about MT4 and MQL
-
sangmane replied Feb 9, 2011elvadod, please see attached file. let me know how it works
Zig Zag Pip Value
-
sangmane replied Feb 7, 2011@elvadod: your pic don't show "Time". i only see you put a number after pip value ( xxx/xx). please repost a complete pic @purley: i'll add that
Zig Zag Pip Value
-
sangmane replied Feb 4, 2011hi scott, please find the attached EA/script for master (MT4 instance that send tick), i use EA for client (MT4 instance that receive tick) i use script with a while loop to make sure i can catch most of the tick data let me know how it works on ...
How to share data between 2 MT4 sessions?
-
sangmane replied Feb 2, 2011assuming that you want to backtest your ea using excel, then you need to export market data (time,price) to excel. the biggest challenge would be converting your ea to "excel language" if your ea doesn't use fancy indicator, i think it is possible
Manipulating Trade Data to Excel
-
sangmane replied Feb 2, 2011there are many alternatives. you can use named pipe: url or file mapping http://msdn.microsoft.com/en-us/library/aa366537(v=vs.85).aspx or wm_copydata (sample is in the link posted by CodeMeister above) i have coded filemapping ea/script without ...
How to share data between 2 MT4 sessions?
-
sangmane replied Jan 30, 2011numbars = mathabs(time2 - time1)/Period() + 1;i forgot to multiply Period() with 60. it should be: numbars = mathabs(time2 - time1)/Period()/60 + 1; @bandung: dont forget to add 1 bar if you want to include bars at rectangle's left and right side. ...
Comparing a rectangle param to current bar
-
sangmane replied Jan 29, 2011hi pilot, you can modify the mq4 like this double volume = 0.01; //avolume[0]; this way, your order lot size will be 0.01 lot, regardless what value in the order window. or double volume = 0.1*avolume[0]; this will convert lot size 0.1 on order ...
Alternative MT4 order window?
-
sangmane replied Jan 29, 2011objprop_time2 can be the time of left side, depending on how you draw that rectangle (dragging from left to right or right to left). to be safe, get both objprop_time1 and 2, then apply mathmax to get the time of the right side to get the number of ...
Comparing a rectangle param to current bar