| stevehopwoodforex.com https://www.stevehopwoodforex.com/phpBB3/ Print view |
|
| Awesome - original version https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5232 |
Page 35 of 46 |
| Author: | SteveHopwood [ Wed Sep 27, 2017 12:46 pm ] |
| Post subject: | Awesome - original version |
It could be the spread filter. Do a search for "if (!SpreadOk(pairsIndex) )//Spread is too wide, so do not want the EA doing anything." to take you to the code block and add: Alert(symbol, " paused during a wide spread event"); above 'continue'. The block will look like this: Code: Select all |
|
| Author: | DigitalCrypto [ Wed Sep 27, 2017 1:27 pm ] |
| Post subject: | Awesome - original version |
Yep. Thank you. I will check it out. I made it a print statement that I can watch in real time on the console so I can track it while it's happening, IF it is happening. This thing produces so many Alerts Im afraid to add one more. EDIT: Of course wouldn't you know now that I said something about it....it seems to be working correctly so far. |
|
| Author: | Kopan [ Wed Sep 27, 2017 9:35 pm ] |
| Post subject: | Awesome - original version |
DC, I noticed that your "Outlaw" setfile defaults to 24 hour trading. Are you still trading <only the London Session> as you did with your prior versions or is it really 24 hours? Thanks for the clarification, Kopan
|
|
| Author: | DigitalCrypto [ Thu Sep 28, 2017 2:13 am ] |
| Post subject: | Awesome - original version |
Hey Kopan, My testing didn't seem to work like I had originally planned. That set file is for the original AO. I need to send some stuff to Steve for review. I couldn't get FIFO working correctly either. FIFO will work if trades are stacking in the direction of the trend and new trades are lower or higher than prior trades. But you would still need to close out the first trade before closing out later trades. As an aside, I found one of the main reasons that USA switched to 50:1 and FIFO via a NFA (National Futures Association) law suit. Apparently Gain Capital (forex.com) was switching leverage from 200:1 on Fridays to 100:1 and manually margin calling customers. Instead of taking only a small part of the position they would often liquidate the entire position. The 50:1 and FIFO stopped all brokers from being able to participate in this particular type of scam. |
|
| Author: | SteveHopwood [ Thu Sep 28, 2017 1:27 pm ] |
| Post subject: | Awesome - original version |
This is no big deal folks; just an edit you might like to make to the code. I am adding a couple of requests to PoS; one of them involves coding the candle open time stuff from PoS, so I am copying it across. I came across this block: Code: Select all ArrayResize(TradingBarTime, NoOfPairs * tfTotal); to: ArrayResize(TradingBarTime, NoOfPairs); This is line 1107 in the code in front of me. |
|
| Author: | DigitalCrypto [ Thu Sep 28, 2017 1:56 pm ] |
| Post subject: | Awesome - original version |
Much appreciated Steve |
|
| Author: | SteveHopwood [ Thu Sep 28, 2017 5:55 pm ] |
| Post subject: | Awesome - original version |
Folks, DC has just pm'd me with an idea about the invalid stops error. Any of you guys using the break even and/or jumping stop features and getting the invalid stop errors? |
|
| Author: | 1Direction [ Thu Sep 28, 2017 6:08 pm ] |
| Post subject: | Awesome - original version |
Can't get global basket closure I tried all I possibly could even started to look into the code but I simply can't have awesome v1m close at my basketcashtakeprofit value. I even tried looking into the relevant part of the code to see if I'm missing some conditions for a global basket closure but not being a coder I couldn't find anything that would help me understand what I'm missing. here my relevant set file settings Trade1AsBasket=true Trade1BasketCashTarget=10 Trade1BasketCashPercentageTarget=0.0 AllTradesBelongToBasket=true BasketCashTakeProfit=4.0 BasketCashPercentageTarget=0 I tried both Trade1AsBasket=true and Trade1AsBasket=false The relevant code as far as I could understand it Code: Select all I'm using TradeReport to track the profit and can witness it goes way pass my BasketCashTakeProfit value without awesome closing all positions. What is wrong with me? Any help greatly appreciated. Thanks 1D Side note, this set file generated +600 demo € net profit since 1st September!! |
|
| Author: | DigitalCrypto [ Thu Sep 28, 2017 8:59 pm ] |
| Post subject: | Awesome - original version |
My buddy is having a blast with AO. One of the things he mentioned to me is that it runs for the most part very well without touching it. However he would like the confidence knowing that everything could go to hell in a moment's notice and he wouldn't care because he had protected his new balance amount. As an added benefit he could check on it from time-to-time and ratchet up the ProtectBalanceAmount as he saw fit. Proposed functionality: (Untested) Code: Select all |
|
| Author: | SteveHopwood [ Thu Sep 28, 2017 9:14 pm ] |
| Post subject: | Awesome - original version |
Does no harm, but by the time the account balance falls below x, the equity would already have gone to Hell in a hand basket and the margin call would have reduced the account balance to below x anyhow. There might be some point to changing this to the account equity but here is the rub: the Black Swan event that we are discussing here overwhelms everything, including the crapform's ability to cope with the information being flung at it. I may be wrong, but as I see it the only way to avoid disaster in these situations is to follow Bob's mantra of trade so you can trade another day. This usually involves:
Imagining that an EA can protect us from Black Swan events is naive. The moon your friend is barking at etc |
|
| All times are UTC | Page 35 of 46 |
|
Powered by phpBB® Forum Software © phpBB Limited |
|