hello, when my EA open a new trade, I would like to put the take profit as a % of the open price of the trade. For example, if the EA open a long position on German index at the price of 11000 I want that my EA set the take profit at 5% of open price (550 pips of profit and then the take profit will be 11550 ).
In the settings I found only the possibility to set the take profit as a % of the stop loss but it's not what I need.
Can sombody help me to program it?
D
Latest posts made by diegoroman
-
RE: take profit %posted in Questions & Answers
-
RE: First Candle of the dayposted in Questions & Answers
Hi, I would like to write a program for buying if price is higher than first candle's high for each day, and selling if price is lower than first candle's low.
I can't find the way to create the needed blocks. Please can you help? -
RE: Heiken Ashi - buy when long and sell when shortposted in Questions & Answers
Thank you for your help. It was very useful
-
RE: Heiken Ashi - buy when long and sell when shortposted in Questions & Answers
Hello, I need some help to create an EA with 2 indicators: Heiken Ashi and Stochastic
The EA should open a buy position when the indicator "Heiken Ashi" draws a long candle and the signal line of stochastic oscillator is above the main line.
The EA should close and reverse to short when the Heiken Ashi draws a short candle and the signal line of stochastic oscillator is under the main line.
I really don't know how to write that, please can someone help me?
Thanks