| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack (2) | Thread Tools | Display Modes |
|
|||
|
Quote:
Thanks for your help! I compiled it with no errors, but I have to wait till the market opens up on Monday to test it. I have one question about expiration codes with EAs: What does the EA check the date against? Is it getting the date information from the Meta Quotes charts, the broker's server or from the actual computer that the EA is running on? If it is the latter (from the actual user's computer) then what keeps a user from simply changing the date on his computer to fool the EA's expiration? Just wondering... |
|
||||
|
TimeCurrent( )
Returns the last known server time (time of incoming of the latest quote) as number of seconds elapsed from 00:00 January 1, 1970. Note: At the testing, the last known server time is modelled. Quote:
|
|
||||
|
try this one...
Quote:
Last edited by IN10TION; 06-07-2008 at 01:08 AM. |
|
||||
|
Can anyone answer this question... I would really appreciate the help...
Quote:
|
|
||||
|
I am having some headache now...the current indicator doesn't really do what I want it to do....
what I want is... Buy Sellflag != 1 (Sellflag is not 1) OzFX Buy signal If ADX>25, Set Buyflag=1 SELL Buyflag != 1 (buyflag is not 1) OzFX Sell signal If ADX>25,Set sellflag=1 When ADX<25, reset the buy/sellflag=0 By Doing so, we can filter out fake/weak breakout!!! I have attached, the source code for the guru to help me out!! sonic |
|
||||
|
I start to change things... but...
your main loop is wrong, and your logic "and" and "or" functions are not fitted well in the code... so I think there is something wrong with the logic... can you tell me about AC and STOCH and ADX in your own words? The way it's programmed now will give a big load on your pc to calculate... have to change almost everything... ... Quote:
|
|
||||
|
Quote:
PHP Code:
|
|
||||
|
Thanks for the reply,
This is the section of code. It's just a moving average envelope that I would like to have mark the high and low points on each bar. Since I am using about six or eight points on each bar, the dash would crowd the screen less than the current smallest arrow I could find (the "110" square arrow shape). //---- indicators IndicatorBuffers(2); SetIndexBuffer(0,ma1); SetIndexBuffer(1,ma2); SetIndexStyle(0,DRAW_ARROW,0,0); SetIndexStyle(1,DRAW_ARROW,0,0); SetIndexArrow(0,110); SetIndexArrow(1,110); SetIndexShift(0,shift); SetIndexShift(1,shift); SetIndexLabel(0,"MA Down"); SetIndexLabel(1,"MA Up"); //---- return(0); I have attached a pic with two MA's indicated. You can see what I have once I activate all 4 of them.
__________________
“A loss never bothers me after I take it. I forget it overnight. But being wrong - not taking the loss - that is what does damage to the pocketbook and to the soul.” Jesse Livermore. |
![]() |
| Bookmarks |
| Tags |
| histogram, forex, ZUP_v1.mq4 |
| Thread Tools | |
| Display Modes | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/questions/270-ask.html
|
||||
| Posted By | For | Type | Date | |
| OzFx System:) - Page 639 | This thread | Refback | 06-21-2008 10:53 PM | |
| Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart | This thread | Refback | 12-08-2007 12:46 PM | |