Beginners Question Starting To Make Your Own EA - Problem: MACD too many Signals
|
|||
|
i am beginner with making expert advisors.
question: how can i get rid of too many macd signals. for example when i try to make a very simple demo ea - an macd 12,26,9. i get way too many signals. there might be two problems: 1) intracandle i want NOT MORE than 1 execution. but metatrader will give me more than 1 intracandle execution. How can I get rid of such intracandle multiple executions? 2) basically, it would be good, if i could anyhow smooth more or less the threshold when metatrader excepts an MACD Signal (or any other) as yes or no. How Can I tell my EA to make any threshold value for my indicators? A) i know there is a macd as an example from metatrader, but still i have my question. B) and there is another example (Moving Average). it has two parameters moving shift decrease factor what are these? could these be a solution to my problem for making signals more or less frequent? C) can i enter such values like moving shift or decrease factor into ZeroCode. If yes - how? contact info: contact disclaimer: all statements here are educational only. forex investing is very risky. use at your own risk.
Best Forex Systems
Proven forex trading systems for auto trading. See the real trading records yourself. Last edited by hunkitop : 02-14-2008 at 11:43 AM. Reason: added disclaimer |
![]() |
|
||||
|
You need to post code here so that we can analyse
__________________
F r e e___F o r e x___E b o o k s___a n d___S t u f f s ![]() -> Cheap MQL Coding service for your EA/indicator is Here <- <- |
Code Logics
|
|||
|
VARIABLES
none BUY LOGICS current symbol, current timeframe Fast EMA period: 12 Slow EMA period: 26 Signal period: 9 applied price median HL/2 Mode: Base Indicator Line shift0 > current symbol, current timeframe Fast EMA period: 12 Slow EMA period: 26 Signal period: 9 applied price median HL/2 Mode: Signal Indicator Line shift0 CLOSE BUY LOGICS current symbol, current timeframe Fast EMA period: 12 Slow EMA period: 26 Signal period: 9 applied price median HL/2 Mode: Base Indicator Line shift0 < current symbol, current timeframe Fast EMA period: 12 Slow EMA period: 26 Signal period: 9 applied price median HL/2 Mode: Signal Indicator Line shift0 SELL LOGICS current symbol, current timeframe Fast EMA period: 12 Slow EMA period: 26 Signal period: 9 applied price median HL/2 Mode: Base Indicator Line shift0 < current symbol, current timeframe Fast EMA period: 12 Slow EMA period: 26 Signal period: 9 applied price median HL/2 Mode: Signal Indicator Line shift0 CLOSE SELL LOGICS current symbol, current timeframe Fast EMA period: 12 Slow EMA period: 26 Signal period: 9 applied price median: HL/2 Mode: Base Indicator Line shift0 > current symbol, current timeframe Fast EMA period: 12 Slow EMA period: 26 Signal period: 9 applied price median: HL/2 Mode: Signal Indicator Line shift: 0 ORDER OPTIONS each tick 1.0 lots Slippage 3 pips StopLoss Non-Use TakeProfit Non-Use TrailingStop Non-Use example currency pair and timeframe: EURUSD M5 ALL SIMPLE STANDARD, ALL LOOKING FINE - JUST NOT WORKING AS I WANT![]() i will attach EA in a few hours i must leave for a short while disclaimer: all statements here are educational only. forex investing is very risky. use at your own risk. Last edited by hunkitop : 02-14-2008 at 10:53 AM. Reason: disclaimer |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| moving average and macd | MuppetMan | Indicators | 14 | 05-17-2008 07:07 AM |
| Macd | marwan305 | Indicators | 9 | 03-09-2008 07:00 PM |
| macd | xgcsmith | Indicators | 0 | 01-24-2008 03:25 PM |
| MACD Sample EA | Jovager | Trading Systems | 0 | 11-02-2006 01:42 PM |
| Novice Question-Creating Signals | Piptrader21 | MetaTrader and ZeroCode | 1 | 09-22-2006 01:55 PM |
All times are GMT. The time now is 12:07 PM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now











F r e e___F o r e x___E b o o k s___a n d___S t u f f s
- JUST NOT WORKING AS I WANT
Linear Mode


