JayB : May you help me with at least a clue how to solve this
The EA is still printing error [invalid stops] after you normalized tp and sl.
Could it be that Trail stop, step, sl or tp is too close to the pricing with Trailing Stop
Before placing Stop Loss and Take Profit, it is the USER who must think with his own head. You are solely responsible for the Stop Loss and Take Profit levels. Before setting these levels you should check the specification of the symbol. Checking the symbol specification - in the ' Market Watch ' window, right click and the 'Specification' menu.
Before placing Stop Loss and Take Profit, it is the USER who must think with his own head. You are solely responsible for the Stop Loss and Take Profit levels. Before setting these levels you should check the specification of the symbol. Checking the symbol specification - in the ' Market Watch ' window, right click and the 'Specification' menu.
Oook. Which parameters in the specification window should i then use to determine how i calculate tp and sl?
From trading this strategy manually when i trade boom/ crash 500 i use sl of 5000 points which is equivalent to $1.
Now honestly i am not sure where exactly to make the changes because i have been changing figures for InpStopLoss and InpTakeProfit.
The error is still coming. I am a bit confused.
And one more thing, did you leave InpTrailingStop (25) and Step (5) in pips or points?
Before any product is published in the Market, it must undergo compulsory preliminary checks in order to ensure a uniform quality standard. This article considers the most frequent errors made by developers in their technical indicators and trading robots. An also shows how to self-test a product before sending it to the Market.
'PositionModify' is trailing. Trailing does not depend on any indicators. Trailing does not care what the indicators show there - the main task of trailing is to pull up Stop Loss to the price. Therefore, you need to throw this block away:
Hi Vladmir, the code has been submitted by someone deleted above. you have replied to the person and said as, Therefore, you need to throw this block away:. The full code works with tester but it shows attached to the chart also but it doesn't show both indicators RSI and MA line in RSI section. It does not create the trade in the demo chart. Can you please advise. Thank you.
+++ Has Anybody else similar error or RSI and MA and trade doesn't show in the demo chart? +++
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
May you help me with at least a clue how to solve this
Before placing Stop Loss and Take Profit, it is the USER who must think with his own head. You are solely responsible for the Stop Loss and Take Profit levels. Before setting these levels you should check the specification of the symbol. Checking the symbol specification - in the ' Market Watch ' window, right click and the 'Specification' menu.
Before placing Stop Loss and Take Profit, it is the USER who must think with his own head. You are solely responsible for the Stop Loss and Take Profit levels. Before setting these levels you should check the specification of the symbol. Checking the symbol specification - in the ' Market Watch ' window, right click and the 'Specification' menu.
Oook. Which parameters in the specification window should i then use to determine how i calculate tp and sl?
See all properties. Read the article: The checks a trading robot must pass before publication in the Market
***
In 'points':
the code:
Use the button
to insert the code
Use the button to insert the code
'PositionModify' is trailing. Trailing does not depend on any indicators. Trailing does not care what the indicators show there - the main task of trailing is to pull up Stop Loss to the price. Therefore, you need to throw this block away:
Hi Vladmir, the code has been submitted by someone deleted above. you have replied to the person and said as, Therefore, you need to throw this block away:. The full code works with tester but it shows attached to the chart also but it doesn't show both indicators RSI and MA line in RSI section. It does not create the trade in the demo chart. Can you please advise. Thank you.
+++ Has Anybody else similar error or RSI and MA and trade doesn't show in the demo chart? +++