TC Revisited

User avatar
SteveHopwood
Owner
Posts: 9754
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

TC Revisited

Post by SteveHopwood »

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 -

-
You do not have the required permissions to view the files attached to this post.
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
SteveHopwood
Owner
Posts: 9754
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

TC Revisited

Post by SteveHopwood »

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

:xm:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
rishikesh
Posts: 1
Joined: Thu Jul 14, 2016 9:30 am

TC Revisited

Post by rishikesh »

:hi:
Thanks a Lot!!!!!

:yahoo:
User avatar
Wavegarrick
Trader
Posts: 1172
Joined: Sun Dec 30, 2012 11:21 am
Location: South Africa

TC Revisited

Post by Wavegarrick »

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
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9754
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

TC Revisited

Post by SteveHopwood »

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:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
Wavegarrick
Trader
Posts: 1172
Joined: Sun Dec 30, 2012 11:21 am
Location: South Africa

TC Revisited

Post by Wavegarrick »

Hi Steve,

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

Cheers
Leon
User avatar
SteveHopwood
Owner
Posts: 9754
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

TC Revisited

Post by SteveHopwood »

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:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
User avatar
Wavegarrick
Trader
Posts: 1172
Joined: Sun Dec 30, 2012 11:21 am
Location: South Africa

TC Revisited

Post by Wavegarrick »

Perfect, same here Steve :smile:
User avatar
Vokin
Trader
Posts: 50
Joined: Tue Dec 06, 2011 4:31 pm

TC Revisited

Post by Vokin »

Hi Steve,
maybe another err: EA show Outside Trading Hour, but still open new trades.
Best Regards.
V.
You do not have the required permissions to view the files attached to this post.
User avatar
SteveHopwood
Owner
Posts: 9754
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

TC Revisited

Post by SteveHopwood »

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:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. [email protected] is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
Post Reply

Return to “Automated trading systems”