Beginners Question Starting To Make Your Own EA - Problem: MACD too many Signals
  #1 (permalink)  
Old 02-13-2008, 06:03 PM
Freshman
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
hunkitop is on a distinguished road
Default 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.
Attached Files
File Type: mq4 080214m12269forum.mq4 (9.8 KB, 0 views)
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
Reply With Quote
  #2 (permalink)  
Old 02-14-2008, 01:02 AM
bossxero's Avatar
Forex Leader
 
Join Date: Nov 2006
Posts: 426
Thanks: 102
Thanked 82 Times in 51 Posts
bossxero will become famous soon enoughbossxero will become famous soon enough
Send a message via ICQ to bossxero Send a message via MSN to bossxero Send a message via Yahoo to bossxero Send a message via Skype™ to bossxero
Default

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 <- <-

Reply With Quote
Code Logics
  #3 (permalink)  
Old 02-14-2008, 06:31 AM
Freshman
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
hunkitop is on a distinguished road
Default 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.
Attached Files
File Type: mq4 080214m12269forum.mq4 (9.8 KB, 1 views)

Last edited by hunkitop : 02-14-2008 at 10:53 AM. Reason: disclaimer
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now