|
|||||||
| 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 |
|
|||
|
Thank you Michel for the proper fix to my triple Trailing Stop coding. This will hopefully put the final fix to my new ea creation. Without the generosity of everybody's knowledge, I would not of been able to program this language. I keep notes on all the new information I acquire on this language. I hope when MT5 gets introduced, the coding will not change to radically - I would hate to start all over again! Thanks again!!
Dave <><<< |
|
|||
|
Quote:
PHP Code:
double Buy1_1 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_CLOSE, Current + 0); double Buy1_2 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_CLOSE, Current + 1); //1-Back double Buy2_1 = iMA(NULL, 0, 50, 0, MODE_EMA, PRICE_CLOSE, Current + 0); double Buy2_2 = iMA(NULL, 0, 50, 0, MODE_EMA, PRICE_CLOSE, Current + 1); //1-Back double Sell1_1 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_CLOSE, Current + 0); double Sell1_2 = iMA(NULL, 0, 5, 0, MODE_EMA, PRICE_CLOSE, Current + 1); //1-Back double Sell2_1 = iMA(NULL, 0, 50, 0, MODE_EMA, PRICE_CLOSE, Current + 0); double Sell2_2 = iMA(NULL, 0, 50, 0, MODE_EMA, PRICE_CLOSE, Current + 1); //1-Back if(Buy1_1>Sell2_1 && Buy1_2<Sell2_2) Then Buy; // Proper 'UP' crossover has occurred! if(Sell1_1<Buy2_1 && Sell1_2>Buy2_2) Then Sell; // Proper 'DOWN' crossover has occurred! Dave ![]() Last edited by Dave137 : 05-03-2008 at 04:40 PM. |
|
|||
|
This is not quite what you are looking for, but look it over anyway. Attach to another graph and it monitors all profit, loss from graphs that have working ea's on them.
Last edited by Dave137 : 05-04-2008 at 02:15 AM. |
|
||||
|
Quote:
|
|
||||
|
Thanks for your reply, but you're right, they're not exactly what I'm looking for.
I don't have the code savvy yet to address the problem. I need the code to return the "high watermark" of the account balance. Thanks again, any help appreciated. |
|
||||
|
Trading Indicator
I want to request an alert for stoch like this.........
the alert looks like this...... coders can you make alert for this indicator.so when stoch 14,3,3 cross line 76.4,50,23.6 there will be pop up window that says"euro/usd stoch cross line 76.4 from up" "gbp/jpy stoch cross line 76.4 from down""usd/jpy stoch cross line 23.6 from up""stoch cross line 23.6 from down"."gbp/chf stoch crossline 50 from up" "."gbp/chf stoch crossline 50 from up" with currency detail like above.maybe can be add is time frame details. such"eur/usd 30min stoch cross 76.4 line from below" can you make it and what i hope is not late signal means the alert is on time. actually I have my desired alert....but its late in alert.. believe me its give late signal: diamond:red when stoch cross 50 from up to down green cross up. arrow red:cross down line 76.4 or 23.6 green arrow:cross up line 23.6 or 76.4 if you all(coders) think doesnt want to make a new one instead to fix this...tell me Ill upload the indicator.. p/s:the indicator also have pop up window... check the photos...below I also attach the indicator-for those who wants to fix it instead making new one |
|
||||
|
Quote:
![]() |
|
|||
|
Quote:
if(begin < end){ if(Hour() >= begin && Hour() < end)return(true); } else { if(Hour() >= begin || Hour() < end)return(true); } return(false); } |
![]() |
| 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 09:53 PM |
| Forex SRDC Sidus Sibkis EA MT4 Forum OTCSmart | This thread | Refback | 12-08-2007 11:46 AM |