Bitcoin Forum
May 02, 2024, 02:40:50 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MT4 and automation trading with multi tp  (Read 28 times)
forestx (OP)
Jr. Member
*
Offline Offline

Activity: 168
Merit: 7


View Profile
January 08, 2024, 01:39:25 PM
 #1

I am looking at ways to automate my mt4 trading. I have a strategy that when back tested on TV is working. It is built on pine script and uses the atr to set a stop loss and first take profit. When first tp is  hit it removes 50% of my position resets the sl at entry and then exists at atr cross.

This is all coded in pinescript but uncertain if it can be utilised easily on MT4. I have a demo account and the brooker allows capitalise ai which I plan to use but is this possible can I set multi tp and trailing stop losses or what is the best way to deal with it   
1714660850
Hero Member
*
Offline Offline

Posts: 1714660850

View Profile Personal Message (Offline)

Ignore
1714660850
Reply with quote  #2

1714660850
Report to moderator
1714660850
Hero Member
*
Offline Offline

Posts: 1714660850

View Profile Personal Message (Offline)

Ignore
1714660850
Reply with quote  #2

1714660850
Report to moderator
1714660850
Hero Member
*
Offline Offline

Posts: 1714660850

View Profile Personal Message (Offline)

Ignore
1714660850
Reply with quote  #2

1714660850
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714660850
Hero Member
*
Offline Offline

Posts: 1714660850

View Profile Personal Message (Offline)

Ignore
1714660850
Reply with quote  #2

1714660850
Report to moderator
1714660850
Hero Member
*
Offline Offline

Posts: 1714660850

View Profile Personal Message (Offline)

Ignore
1714660850
Reply with quote  #2

1714660850
Report to moderator
Lakai01
Legendary
*
Offline Offline

Activity: 2296
Merit: 2721


Top Crypto Casino


View Profile
January 08, 2024, 02:36:53 PM
 #2

[...]
This is all coded in pinescript but uncertain if it can be utilised easily on MT4. I have a demo account and the brooker allows capitalise ai which I plan to use but is this possible can I set multi tp and trailing stop losses or what is the best way to deal with it   
I'm afraid you'll have to translate your Pinescript into MQL4 by hand. I am not aware of any script/tool that can automatically convert Pinescript code to MQL. But if you have written the Pinescript code yourself, this should not be a problem technically, the MQL documentation is very good and you can also find lots of examples on Stackoverflow and co: MQL4 Reference

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
forestx (OP)
Jr. Member
*
Offline Offline

Activity: 168
Merit: 7


View Profile
January 08, 2024, 02:43:14 PM
 #3

While there is no tools to covert pine script to MQL there are tools to link TV alerts to MT4 including Capitalise AI which I intent to test first. I am just trying to figure out if it will actually work and do what I want and if people have experiences with it or other tools
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!