@ekifox Just keep sharing your interesting projects! That will pay enough for all of us.
Posts made by trader.philipps
-
RE: Read file dataposted in Questions & Answers
-
RE: i need helpposted in Questions & Answers
@sssorsss Does the cross of both ema have to take place during same candle?
-
RE: need help creatingposted in Questions & Answers
@gunji80 So signal line you don't care on MACD at all, right?
Check this chart.

Where woul you enter?
-
RE: need help creatingposted in Questions & Answers
Make a screenshot of your chart including the indicator and mark your buy and sell points.
Then we can figure out the how the conditions may be. -
RE: need help creatingposted in Questions & Answers
@gunji80 You don't understand the issue! MACD is the difference between 2 moving averages and NOT!!! a price.
-
RE: need help creatingposted in Questions & Answers
@trader-philipps The price selections is for the moving averages that are involved in calculating the macd value. As on chart you have bars and you have to decide, which of the prices that make the bar is the one to take (open, close, highest, lowest, some averaged prices ...) the average over multiple bars from.
-
RE: need help creatingposted in Questions & Answers
@gunji80 Because price is bigger than macd or signal line value. If MACD is something like 0.00035 and price is 1.09123 for eurusd, price will always be bigger unless eurusd gets almost worthless.
-
RE: need help creatingposted in Questions & Answers
@gunji80 If you compare price with an oscillator, that can not work! Hover over the values of macd indicator and you will recognize that it doesn't have a price value!
-
RE: Need Help With an EAposted in Questions & Answers
@ls29360 Is prev. hi - previous low concerning only the candle that is breaking the upper / lower band? In that case it would be candle size of breaking candle * 0.2 right?
Must that price be reached exactly the candle after the breaking one and signal otherwise gets invalidated? -
RE: Trying (and failing) to create a simple EA...appealing to all FXDreema gurus!posted in Questions & Answers
@sirboyce The trailing parameters look good. For trailing step I"d use a higher value such as 1 or 2 in that case cause I don't like too many order modifications.
You might also consider to user atr or a multiplier of it as a trailing distance. In order to give more room on volatile market conditions. -
RE: Stops/adding variables?posted in Questions & Answers
@chemdog working with groups you need a buy / sell block per group. Probably a variable would work as well.
However, are the close conditions different if there are more than 1 trade on same direction? -
RE: Read file dataposted in Questions & Answers
@ekifox Finally by try and error :))
Use this for handle:
//
int handle = FileOpen(tempFileName,FILE_READ|FILE_CSV|FILE_ANSI);
//Don't ask me why it has to be FILE_ANSI as I saved my file with UTF-8 encoding explicitly.
However, the result looks like this..
-
RE: Multiple Condition Trailing Stopsposted in Questions & Answers
@chemdog Yes. The code calculates the candle I'd when the trade was opened. With this value you can do the same calculation like you did before entering the trade. Just use different candle id .. start is open order candle + 1 and open order candle + whatever you took for look back.
Or in other words you do the same SL calculation just candle ids are shifted.