stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

TC Revisited
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=5367
Page 1 of 3
Author:  SteveHopwood [ Sun Jan 21, 2018 5:10 pm ]
Post subject:  TC Revisited

SERIOUS WARNING
  • Most Forex traders lose all their money.
  • Using the robot posted here in trading Forex does not guarantee success.
  • Trading this robot could lead to serious financial loss.
  • Trading this robot without understanding its underlying trading strategies guarantees traders will lose their money.
  • This is not a set-and-forget ea; there is no such thing and anyone who tries to claim there is, is either stupid or lying. This ea requires frequent manual intervention.
  • At best, a trading robot is only 90% as good as the manual strategy it trades. At best. At worst, it can be much less effective. If the strategy is rubbish, so is the robot.
  • To trade this robot, you have to understand:
    • How to use EA's.
MAKE SURE YOU READ THIS POST http://www.stevehopwoodforex.com/phpBB3 ... 41#p111241 There was a Forex bloodbath on Jan 15th 2015 that you need to know about.

Here is the PM that led to me coding this:
Hello Steve,
:hi:

you coded an EA on Forexfactory some years back called The Captain: an always-in auto-trader https://www.forexfactory.com/showthread.php?t=292421

EA opens a new trade on every new candle.

Can this be modified, in such a way that only first entry will be on a new candle, but consequent entries will be based on just price.

For example if i set price as 20 and i set a reversal as 15. so everytime price moves up 20 pips in same direction it will open a buy trade. it will open buy trade every 20 pips and open a sell trade (While closing all buy trades) only when the price reverses 15 pips.

So the logic is same as The Captain: an always-in auto-trader but instead of opening on every candle, opening it based on price we set
TCR trades thus:
  • On start up or resuming after a break and if there are no trades already open, waits for the open of a new candle then:
    • Sends a buy trade if the previous candle rose.
    • Sends a sell trade if the previous candle fell.
    • Waits for another candle if the previous one was flat.
  • Suppose the first trade is a buy. TCR:
    • Sends an additional buy every time the market moves up by DistanceToOpenPips, up to a maximum of MaxTradesAllowed.
    • Closes all the buy trades when the market falls by DistanceToClosePips and sends a sell trade.
    • Sends an additional sell every DistanceToOpenPips, up to a maximum of MaxTradesAllowed.
    • Closes all the sell trades when the market rises by DistanceToClosePips and sends a buy trade.
Rinse and repeat.

This will be great in a strongly moving market. It will be murdered by chop.

All we can do is have a play with it and see if it has a future. It might be that it will benefit from starting in the direction of SS, HGI or Bob's moving average. It might be worthwhile sending a hedge then closing the hedge after sufficient movement. I do not know yet.

:xm:

Matters of general interest
Go here to download and run the script that will fill your platform's missing chart history: http://www.stevehopwoodforex.com/phpBB3 ... f=15&t=254
Read this post:
http://www.stevehopwoodforex.com/phpBB3 ... p?f=6&t=78 Newbie traders, read this for inspiration and warning. Those of you who have suffered losses, read it for inspiration.

Masterly summary of hedging: http://www.forexfactory.com/showthread. ... ost4977179

EA coding
I receive may requests to code EA's. Traders, if I code your EA for free, then I will share it here. If you want me to code your EA without sharing, then my fee is $100 payable into my paypal account. I explain why at http://www.stevehopwoodforex.com/phpBB3 ... ?f=15&t=79, at the bottom of the post.

Useful utilities/EA's/scripts -

-
Author:  SteveHopwood [ Mon Jan 22, 2018 2:03 pm ]
Post subject:  TC Revisited

V 1a is in post 1 with a fix for the bug that was preventing the additional trades.

:xm:
Author:  rishikesh [ Mon Jan 22, 2018 2:15 pm ]
Post subject:  TC Revisited

:hi:
Thanks a Lot!!!!!

:yahoo:
Author:  Wavegarrick [ Mon Jan 22, 2018 2:46 pm ]
Post subject:  TC Revisited

So far so good,

Uploaded the Ea On gbpJpy as per Steve's suggestion.

Its all good and now with the latest version new trades opened, currently 77 pips up :good:

Many thanks Steve.

Cheers
Leon
Author:  SteveHopwood [ Mon Jan 22, 2018 2:56 pm ]
Post subject:  TC Revisited

Mine has just sent its third GJ buy, this time a perfect 20 pips above the previous one. Just the closing code to check now.

:xm:
Author:  Wavegarrick [ Mon Jan 22, 2018 3:19 pm ]
Post subject:  TC Revisited

Hi Steve,

Yes my second and third trade is a perfect 20 pips distance.

Cheers
Leon
Author:  SteveHopwood [ Mon Jan 22, 2018 6:26 pm ]
Post subject:  TC Revisited

I just had my first GJ batch of buys close. The bot waited its required 1 minute safety period then opened the first sell.

:xm:
Author:  Wavegarrick [ Mon Jan 22, 2018 6:31 pm ]
Post subject:  TC Revisited

Perfect, same here Steve :smile:
Author:  Vokin [ Tue Jan 23, 2018 10:33 am ]
Post subject:  TC Revisited

Hi Steve,
maybe another err: EA show Outside Trading Hour, but still open new trades.
Best Regards.
V.
Author:  SteveHopwood [ Tue Jan 23, 2018 11:32 am ]
Post subject:  TC Revisited

Vokin » Tue Jan 23, 2018 10:33 am wrote:Hi Steve,
maybe another err: EA show Outside Trading Hour, but still open new trades.
Best Regards.
V.
I have put what I hope is a fix into V 1b in post 1.

:xm:
All times are UTC Page 1 of 3