- Search Energy EXCH
- 669 Results (7 Threads, 662 Replies)
- NowAndLater replied Oct 2, 2013
Well different pairs have different dynamics, so saying that EU might suit everyone isn't correct according to me. From a spread perspective it's of course the best, but I trade only gold (which has a much higher spread) and that suits me much ...
No more BS - What have you learned?
- NowAndLater replied Oct 2, 2013
Newer traders can't (most likely) understand it I will say, because it takes time and time and time to get to terms with these points. You need experience and you won't get that from any book. No matter how much you read before you start, trading ...
No more BS - What have you learned?
- NowAndLater replied Oct 2, 2013
You have to know what kind of person you are, because that will be reflected in your trading - it should be the dominant factor when picking a system to use. Because you have to trust your system 100% otherwise you will fail (meaning you have to ...
No more BS - What have you learned?
- NowAndLater replied Dec 21, 2012
Ok, I see the issue, thanks for pointing it out!
A "real" coding challenge
- NowAndLater replied Dec 30, 2010
The reason for my post was to show that there's no need to risk the absolute minimum when we've found something that works. I wanted for fun to see what the maximum would be for my profits with a certain edge, and I love math, and that's why I ...
Maxmizing Your Returns
- NowAndLater replied Dec 26, 2010
I've read through this thread and it's evolving very fast, can't afford to miss a day with this action. Anyway, I have these thoughts: 1) How was the first open price chosen, since this first one is determining the outlook and look of the range bars ...
Dreamliners’ MPAS (Mechanical Price Action Strategy) System
- NowAndLater replied Dec 21, 2010
Try this: int start() { // Assign variable names double MAX20, MIN20; int i; // Program i = Bars - 1; while (i>=0) { // Determine highest value MAX20 = High[iHighest(NULL, 0, MODE_HIGH, Max_Bars, i)]; // Determine lowest value MIN20 = ...
Help newbie with indicator code
- NowAndLater replied Dec 21, 2010
Of course, I didn't understand that we only enter at TP1. Tnx!
Brain teaser 1: Is it possible to turn a losing system into profitable one?
- NowAndLater replied Dec 21, 2010
I'm a bit confused as my calculations leads me elsewhere... If you do what nhct wrote, then out of 100 trades you'd get this: 1) 41 trades hits stoploss @ -22 2) Out of the remaining 59 trades: a) 15 trades will hit stoploss @ -32 b) 44 trades will ...
Brain teaser 1: Is it possible to turn a losing system into profitable one?
- NowAndLater replied Aug 23, 2010
Do you only have 1 position at a time? In that case use OrdersTotal(). If it's > 0 then you have a position running, otherwise you're flat. If OrdersTotal() > 0, do a OrderSelect(0, SELECT_BY_POS) and then do your switch(OrderType()).
Code to check currentPosition?
- NowAndLater replied Jul 4, 2010
Haven't looked at your code but this is how I've done it: findFractal gives the price of the fractal depending on up/down fractal, timeframe and how many fractals back you want to look at (given by nbr, where nbr = 0 gives the last fractal): double ...
Comparing last 2 fractals - code help please
- NowAndLater replied Jun 28, 2010
The fractal appears in shift 2, but is confirmed only when 2 bars after the fractal has closed which is why I use shift 3 If you want to exit a trade when a fractal appears 2 shifts away, you need to check that there is a fractal on shift 2. I ...
How do I use Fractals in my EA?
- NowAndLater replied Jun 27, 2010
This will give you the barshift (i for up-fractal and j for down-fractal) and the price of the fractal (upFractal and downFractal) to the most recent up or down fractal: int i = 3, j = 3 , timeframe = *your choice*; ...
How do I use Fractals in my EA?
- NowAndLater replied Jun 20, 2010
if( (open[1] - close[1]) >= 100*Point ) myOrderType = 1; //bearish if( (close[1] - open[1]) >= 100*Point ) myOrderType = 2; //bullish
2 simple lines of code needed, please help
- NowAndLater replied Apr 8, 2010
This might do the job int pipsInProfit = 5; //or whatever you would like it to be if(OrderType() == OP_BUY && (Bid - OrderOpenPrice()) >= pipsInProfit*Point) Order = SIGNAL_CLOSEBUY; if(OrderType() == OP_SELL && (OrderOpenPrice() - Ask) >= ...
How do I close a trade based on pips count?