| 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 | Thread Tools | Display Modes |
|
|||
|
one stupid question everything inside the {} is your comment or i have to write it? and why? why {;} and not {}; ?
also can i still use this statment right? PHP Code:
or i have to write: PHP Code:
Last edited by payback; 06-10-2008 at 07:35 PM. |
|
|||
|
Help Needed to code a simple ea, please...
Hello All,
I'd like to thank everyone who has help me in the past. Righ now, i have a new request. Can someone help me code this ea and here are the parameters: My ea is based on an doji bar and an inside bar. For an Inside bar : Place a BUY-STOP/BUY-LIMIT at the HIGH of the next bar Place a SELL-STOP/SELL-LIMIT at the LOW of the next bar Clarifications : Inside Bar is bar 0 (zero) The next Bar is where we going to to place buy and sell limit or stop The bar after next is where the long or short will be triggered. On a one hour chart, if we have an inside bar at 9 AM, then we place our BUY-STOP or LIMIT and SELL-Stop otr LIMIT at the high and low of the 10 AM bar. The long or shor will be triggered at the 11 AM bar providing that price goes higher or lower than the 10 AM bar. For a Doji bar : Place a BUY-STOP/BUY-LIMIT at the HIGH of the previous bar Place a SELL-STOP/SELL-LIMIT at the LOW of the previou bar Clarifications : Doji Bar is bar 0 (zero) The Previoust Bar or Bar before the doji bar is where we going to to place buy and sell limit or stop at the high and low. The bar after the doji bar is where the long or short will be triggered. On a one hour chart, if we have doji bar at 9 AM, then we place our BUY-STOP or LIMIT and SELL-Stop otr LIMIT at the high and low of the 8 AM bar. The long or shor will be triggered at the 10 AM bar providing that price goes higher or lower than the 8 AM bar. ...maybe, it's not that simple. If it was i would have done it 2 weeks ago. Thanks in advance! Best Regards, forexcel |
|
||||
|
these are not comments, this is code.
they are a part of your if() statement. if(SellCondition){ ... return(0); } if(SellCondition==true){ ... return(0); } both statements are ok, you can use one of them... but see that every if() statement close with } it doesn't show in your code that you provide here. other example: if(a==b){c=1; d=2; return(0);} Quote:
|
|
|||
|
PLease code EA for me
Hey freinds,
i have some request for those who able to code this ea The system look like this.. let say for the pair GJ around gmt 8 show current price is 200.00 therefore i need a breakout instant show for buy stop 200.50 sells stop 199.50 with SL 30 pip and TP 50pip and the ea works automatically after it smile..hehe only GMT 8..... |
|
|||
|
Hi all..
can someone please help me how to combine several indicators become an EA?? Actully, i have indicators that are.. 1. FX Sniper's MA 2. FX Sniper's LSMA 3. Slope Direction Line 4. Supertrend Audible Alert 5. Super_signals_v3 Sorry to say, i'm not good in programming ![]() Here i attach the picture for BUY Condition ![]() this for SELL Condition ![]() Open BUY POST When FX Sniper MA && FX Sniper LSMA && Supertrend Audible Alert = Green && Slope Direction Line = Blue. Open SELL POST When FX Sniper MA && FX Sniper LSMA && Supertrend Audible Alert && Slope Direction Line = Red. Exit BUY/SELL POST when super signal v3 appears. hope someone can help me.. thanks these are the indicators 1. FX Sniper's MA FX Sniper MA.mq4 2. FX Sniper's LSMA FX Sniper LSMA.mq4 3. Slope Direction Line Slope Direction Line.mq4 4. Supertrend Audible Alert Supertrend Audible Alert.mq4 5. Super_signals_v3 super_signals_v3.mq4 Last edited by areon25; 06-12-2008 at 04:56 AM. |