hello I can’t figure out to to make this help me please
I’m trying to make better take profit stop loss system I want to make the ea close the position when profit reach 1 or 2% gain or 3% floating equities loss.
I don’t want to use pips system I want the equities gain loss % by percentage help me out please !
You may use the Account Node, found under the ‘Info’ section. Selecting ‘Profit’ will return Profit and Loss in opened position, while selecting ‘Equity’ will return currency account equity.
This can also be calculated via the single order profit, for which you may use the Order Data Node with parameters set to Profit.
Another question is, how can we do to avoid open operations during certain days of the week, for example from Friday at 20:30 until Monday at 01:30 and every week?
Please use Ask - Bid to see the current spread value. Then, you may transform points to a whole number and compare it to the desired value. This comparison should be added to the AND node as one of the conditions to open a position.
This can be done by checking date and time components like Day of Week, Hour and Minutes individually and combining them into one logical expression. See example on screenshot.
In FxPro Quant, orders are usually managed with a Magic Index. Using this Index, the EA can distinguish different orders. If you have more than one order per Magic Index, you will not be able to get individual info for the order or modify it or close it on its own.
For the time being, it is not possible to create many martingale strategies in FxPro Quant. You may only create those that have a limited amount of steps or do not require information or action for individual orders.
I am having a lot trouble trying to set up pending orders in the form of a sell stop and buy stop.
I would like to hedge my moving average cross by placing a sell stop 100 points away from a buy trade; alternatively I would like to place a buy stop 50 points from the current price and a sell stop 50 points from the current price.
I have tried to set price and the take profit and stop loss numerous times, but all I get is error message after error message ie. ordersend error 130.
Got the pending order open, now my problem is that it keeps sending more than one order. how do i get the EA to send only one pending order per confirmation.
How do I close all my open trades once they have hit a certain amount, eg. when profit hits $50, close all sell and buy open trades and delete any pending trades.
I need active the follows system with the RSI index:
Step 1: When the RSI touch the line 60 --> “YES, it is allowed to SELL” AND “NO, it is not allowed to BUY” (RED area between step 1 and step 2)
Step2: When the RSI touch the line 40 --> “YES, it is allowed to BUY” AND “NO, it is not allowed to SELL” (BLUE area between step 2 and step 3)
Step 3: Repeat step 1: When the RSI touch the line 60 --> “YES, it is allowed to SELL” AND “NO, it is not allowed to BUY” (RED area between step 3 and step 4)
Step 4: Repeat step 2: When the RSI touch the line 40 --> “YES, it is allowed to BUY” AND “NO, it is not allowed to SELL” (BLUE area between step 4 and step 5)
I think that it is possible with a variable that active and deactivate in each step, but a don’t know how to do that.
Thank for your help
Hi, I’m a newbie on Fxpro Quant and i’m wondering how do I perform a lot sizing EA on Fxpro Quant. Please kindly assist me on this.
I would like to perform a Lot Sizing operation whereby if my account had decreased or increased in a certain %, let’s say… 5% my lot size would increase from 1.0 to 1.1(or 1.2) and if my account had decrease by 5%, my lot size for the next trade would be decrease as well. I’m still not sure what is the exact lot size i’ll be increasing and decreasing, but for now, I would appreciate your help in how do i programme a lot sizing EA. Thank you very much.