- Search Crypto Craft
-
sangmane replied Apr 26, 2010Yes Steve, it happens frequently to us programmers when our brain is being forced to compete against i7 processor

Swing momentum trading - the robots are taking over
-
sangmane replied Apr 26, 2010Steve, After not less than two hours glared at the EA trying to find out why TtfSwing[cc] has unstable value and Ttf swing keep display Low, finally I found the cause. Guess what? A TYPO... //These two arrays are used to make the robot look for ...
Swing momentum trading - the robots are taking over
-
sangmane replied Apr 26, 2010Pls check the indicator below. Pic shows two session lines with different color (you need to attach indicator two times each with session time start/end)
Horizontal Session Indicator
-
sangmane replied Apr 26, 2010When the programmer find your strategy is very profitable, I don't see any reason why he wouldn't use that strategy. Most of MQL programmer do trading. So, there will be conflict of interest. Your best way to protect your strategy is by making some ...
Looking for programmer
-
sangmane replied Apr 24, 2010from my last code example, z2 show the price of the recent swing (in your pic, it is swing low), and z3 show the price of the previous swing, ie. swing high code below shows the times the last two swings occurred: int start() { int k = 0; double z1 ...
Swing momentum trading - the robots are taking over
-
sangmane replied Apr 24, 2010hi Steve, there are many ways to get those legs. simple EA below will print Swing High/Low of MT4 standard Zigzag int start() { int k = 0; double z1 = 0; double z2 = 0; double z3 = 0; while(true) { if(k==Bars-1) break; double zz = ...
Swing momentum trading - the robots are taking over
-
sangmane replied Apr 24, 2010ea was coded for 4-digits broker. now it should works for 4/5 digits. ps: fxpro using 6 digits quote?
Universal MA Cross EA by Firedave
-
sangmane replied Apr 24, 2010why it won't work? quoted from MQL4 Language Reference: "Arrays are allowed to be maximum four-dimensional."
Dynamic Multidimensional Arrays
-
sangmane replied Apr 23, 2010toro, i suggest you read MQL book url . check the file below
FRAMAOsma.....
-
sangmane replied Apr 23, 2010your indi display correctly. what do you mean by osma code?
FRAMAOsma.....
-
sangmane replied Apr 22, 2010xmph, I also found that one breakout per trade give slightly better PF. Regarding time zone, currently (DST) Alpari UK clock is GMT+2. But because Alpari UK using CET (currently London Time+1) and Alpari adjust their clock to DST, I don't see the ...
A Simple London Breakout
-
sangmane replied Apr 22, 2010Finally, I have someone that use my EA and give feedback. Tazman, you are right about my EA's reentry. I think if we are talking about breakout, it has to go inside the range before making a new trigger. Re-entry just because it taps the initial ...
A Simple London Breakout
-
sangmane replied Apr 22, 2010hi toro, if you still can't solve the problem, post your indicator file (mq4) so that it is easy to debug
FRAMAOsma.....
-
sangmane replied Apr 20, 2010Squalou, The basic code of Martingale: 1. find the number of the last number of successive losses, lets say N 2. calculate lot size based on N and the starting lot: lot = MathPow(Multiplier,N)*initlot Classic Martingale uses Multiplier = 2. simple ...
A Simple London Breakout
-
sangmane replied Apr 20, 2010Hi kijkij, Your username is unique. It forms triangle on keyboard layout
@Squalo: As I've stated in my post, I code that EA in order to find out what parameter (TimeStart/End, Entry/TP/SL scale factor, MaxBoxSize, etc) for each pair that will ...A Simple London Breakout
-
sangmane replied Apr 20, 2010Providing that you use "Weakness" as the prefix for all the object name, you can use the following routine in deinit() int deinit() { string ObjName; int ObjTotal = ObjectsTotal(); for(int i = ObjTotal-1; i>=0; i--) { ObjName = ObjectName(i); ...
Please help with this indicator
-
sangmane replied Apr 20, 2010I just finished my EA for testing the profitability of this strategy, especially the Martingale aspect. My Martingale method calculates lot size based on Risk, which is equal to a percentage of Account Balance. When a trade is a loss, instead of ...
A Simple London Breakout
-
sangmane replied Apr 20, 2010Sorry mate, I end up posted an old file. I have changed the indicator on my previous post (I named it LondonBreakoutV3.1.mq4), you can download it again.
A Simple London Breakout
-
sangmane replied Apr 20, 2010Hi Ed, It is your broker's timezone that matters, not your location's time zone. The simplest thing to know. To know the hour difference: - Open your chart, draw vertical line at the last bar, note the time. - Open url and note the GMT time shown ...
A Simple London Breakout