Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 102
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Roger, I can't understand it!
Threw a horizontal line on the chart, fix its price, delete the line - it is no longer needed. Immediately we set an order at that price.
What is the mistake? And why a Sell Stop will not open?
Why keep following the price if I only need the price value of the horizontal line?
Explain!!! Help! More details, please!
Sellstop was wrong, it will open.
Now about the lines. When I trade live, I look at the chart and place a horizontal line, conditions are appropriate, the line is deleted and the order is opened. How is this better than a simple hotkey script? In the tester, to draw the line, you have to enable visualization and observe the chart. I do not even understand why we should add it to the tester.
Sorry! Then get on the potty and go to sleep! Have a good morning! ;)
And on your fingers? How can time and price tell you to close on the take? I can certainly think it myself, but it's 7.43 in the morning and I haven't gone to bed yet.
If it's 7.43 and I haven't gone to bed... So, I'm going to assume it's grail!
Good people, tell me what is wrong. In a sell trade, which opens on the first tick of the 0 bar, the stop loss should be set 30 pips (5 digits) above the High of the first candle. Wrote so, but stop loss is not placed at all.
This is the stop loss level you want, for example, 1.5000+30*0.00001 = 1.5003.
SL= Price + StopLoss*Point;
Why else would you add StopLoss*Point to Price(1.5003*0.00001=0.000015). SL becomes almost equal to Price, that's why the StopLoss is not set.1. Look for the last closed position (MODE_HISTORY).
2. If it closed at (or close to) the takeaway --> Remember its open time -->
3. Look through all open positions (MODE_TRADES) and compare their open time with the remembered (from point 2) --> If the remembered time of opening the position closed by the mark (from point 2) is the longest from the time of opening of other open positions --> It means that the last open position was closed by the mark -->
4. Crop/delete all the rest.
Hm. It seems to be written. But the result is not the same.
Here's what came out for me:
Good people, can you tell me what's wrong. In a sell trade, which opens on the first tick of the 0 bar, the stop loss should be set 30 pips (5 digits) above the High of the first candle. Wrote it this way, but the stop loss is not set at all.
What you have here is nothing at all. Let's start with the fact that short closes always on the ASC, not on the BID.
The stop loss is still not set, but the take profit works. Stop loss and take profit code attached
Hmm. It seems to have been written. But the output is wrong...
This is what I got: