| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=3175 |
Page 3 of 5 |
| Author: | fx800 [ Sun Sep 29, 2013 3:19 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
Sorry, I forgot to add that we need a line to say the last candle must be below the daily pivot for a buy and above the DP for a sell. That means we want a PIVOT CROSS for trade entry. The mod ea I sent you does not have this line yet i.e. for buy, if ( iClose(CurrentPair, PERIOD_H4, 1) >= DailyPivot ) return; |
|
| Author: | fxdaytrader [ Sun Sep 29, 2013 3:21 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
yep, thanks - I'll have a look tomorrow |
|
| Author: | fx800 [ Mon Sep 30, 2013 12:38 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
One of the main drawbacks of the original ea is the big initial drawdown that it tends to incur. This is often caused by the ea entering trades too far away from the daily pivot. I am going to use the daily pivot filter implemented by fxdaytrader recently to stop the ea from entering trades if ask > dailypivot + pipsfromdp / bid < dailypivot - pipsfromdp. It should not be too difficult to implement and I am sure many of you can do it yourself. When it is tested and working, will post it here. There won't be any more filters, otherwise, the ea will stop trading altogether. |
|
| Author: | fx800 [ Mon Sep 30, 2013 6:59 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
Forgot to turn off the CSS filter, so no trades yet from mod v1.32a.fxdaytrader, just two pending orders. |
|
| Author: | fx800 [ Mon Sep 30, 2013 8:43 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
Eurcad long taken below the daily pivot with the dp pivot turned on. Shouldn't we use Code: Select all |
|
| Author: | fx800 [ Mon Sep 30, 2013 9:41 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
Second trade of the day CADCHF short |
|
| Author: | fxdaytrader [ Mon Sep 30, 2013 9:46 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
<> ask/bid, maybe I confounded this. Thanks for fixing on my demo no trades so far, will turn off css etc. also. and then wait |
|
| Author: | fx800 [ Mon Sep 30, 2013 10:16 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
Are you saying the fix is OK ? Would you like me to post the amended version here ? |
|
| Author: | fxdaytrader [ Mon Sep 30, 2013 10:31 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
Your code: for BUYS: ASK must be >= dailypivot (if not, then no trade) for SELL: BID must be <= dailypivot (if not, then no trade) So in fact this does the same my code did, nearly the same - your code says that it must be higher or equal (sell: lower or equal) ... Now I am confused, yes. |
|
| Author: | fx800 [ Mon Sep 30, 2013 10:36 pm ] |
| Post subject: | Re: HELP TO ADD ATR STOP LOSS TO MULTI 10.4 TRADER |
I am even more confused than you are I think for buy if (ask <= daily pivot ) return (false); For sell if (bid >= daily pivot) return (false); |
|
| All times are UTC | Page 3 of 5 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|