@zereleth Not at all. Storing the value of an indicator on several variables is not related to slippage. Just catch the value of MACD for the last 5 candles on 5 different variables. Compare them to each other and you will know for sure if there was a crosing or not within that period. Slippage is not relevant here because there is no open trade related.
Posts made by l'andorrà
-
RE: How do I add a grace period?posted in Questions & Answers
-
RE: closing trades when the indicator gives the opposite signal before the take profit or stop loss has been hit.posted in Questions & Answers
@lubolover Not exactly. Can you please share your project? That will be easier to review.
-
RE: Trades opening on inferior time framesposted in Questions & Answers
Can you please share your project?
-
RE: Contract / Starting lot at MM Ryan Jonesposted in Questions & Answers
@tcanuto I'm sure this can be acheved by using a custom code block. However, you will need a real programmer to do that, I'm afraid. And I'm not that guy, sorry.
-
RE: Indicator Riseposted in Questions & Answers
@envex Man, you specified 0 candles to rise!
You need to specify at least 1 candle to rise. -
RE: help me with this problem🙏🏻🙏🏻🙏🏻posted in Questions & Answers
@masboy Honestly, I'm befuddled by this lot size calculations. Why don't you try to use a fixed pips formula just to check is the rest of the EA is correct? Once confirmed we can be sure the problem is that custom calculation.
-
RE: Building an EAposted in Questions & Answers
@don-fabi I will be glad to help you. What do you want to buid?
-
RE: Not Working on Offline Charts? Works on Backtest.posted in Questions & Answers
@yoloyacht Are all of them on the 'on tick' tab? If so there must be a problem with your MT4 platform because the logic is correc. However, I see that block number 31 specified 'below' whereas block 30 is specifying 'crosses above'. Is that correct?
-
RE: BEAR CANDLE IN A ROW DECREASING FOLLOWED BY BULL CANDLES IN A ROW INCREASINGposted in Questions & Answers
@daraseunni That 'Turn On' block is unnecessary. This is what you need:

-
RE: Doji Heiken Hashi - Help me to identify it pleaseposted in Questions & Answers
@fmazzot You're right. That block can only use two operands at a time. The best option is haveing a custom code block with your required calculations. Maybe roar or miro could help?

-
RE: Amount of orders to be Openedposted in Questions & Answers
@shedrack Then you need to add these blocks below your condition blocks:

But please remember that MT4 cannot open trades at the same time, but one after the other. This means you can get 5 different open prices depending on the volatility, spread, etc.
-
RE: Increased volume after partial closeposted in Questions & Answers
@badboydjl Can you please share the link of your project instead of downloading the comipled file? That would be easier to review.
-
RE: Not Working on Offline Charts? Works on Backtest.posted in Questions & Answers
@yoloyacht Just move all blocks to the 'on tick' tab.
-
RE: WANT A SIGNAL INDICATOR INSTEAD OF EAposted in Questions & Answers
@fxadels I still don't understand what information are you expecting to get from that 'Symbol Trade Time (for futures)' option. What do you really need.
Additionally. The alert block is empty. This means no alert will be properly activated.
-
RE: Doji Heiken Hashi - Help me to identify it pleaseposted in Questions & Answers
@fmazzot I'm afraid I'm not an expert on Heiken Ashi. What do you need exactly from those formules? Maybe you can get the same information in a much easiest way from the indicator itself.
-
RE: How do I add a grace period?posted in Questions & Answers
@zereleth You can always check the value of the MACD every single bar and compare it to as many previous bas as required. Not a nice way to do it but certainly efficient.
-
RE: COMPILING ERRORsposted in Questions & Answers
@creus93 I can't load the link for some reason I don't understand. Anyone else?
-
RE: Bucket of Traders , a problem EA to open positions.posted in Questions & Answers
@filippo369 Please share any feedback.
-
RE: Trailing Stops for new Open trade made from Pips Away from open Priceposted in Questions & Answers
- Blocks 240, 431, 432 and and 433 should be specified as group 1.
- Two 'no trade' blocks specified as 'group 2' should be added between 'pips away..' blocks abd 'buy/sell now' blocks.
- 'Check group number' block is unnecessary.

