put them one on top of the other, buys are +distance, sells are -distance, if you want sells above buys, offset by enough pips so in total it lands high enough above the highest buy
Posts made by jstap
-
RE: grid againposted in Questions & Answers
-
RE: ea for close all trade with sum moneyposted in Questions & Answers
on tick, close block is a standard block called that
-
RE: What is the purpose of the max times to pass function of time filter blocks?posted in Questions & Answers
That is how many times it can pass, let's say above you had a minutes filter set to 5, then this set to 2 it would allow the minutes filter block to pass twice (as long as the chart is more than 5min), candle open and 5 minutes later, but it would block 10, 15 etc.
-
RE: What is the correct data type for Time & Date values ?.posted in Questions & Answers
use type: string
datetime is correct for date and time in the same line, but sometimes you need to use string, for example, the time filter block needs string, but you can only use time 00:00:00 -
RE: ea for close all trade with sum moneyposted in Questions & Answers
Check profit (unrealised)-close block
-
RE: HELLO BEEN HAVING A PROBLEM WITH THE BUY PENDING ON MT5posted in Bug Reports
Not that I've experienced, and what has spread got to do with lot size?
-
RE: EA NOT WORKING ON REAL OR DEMO AS IT WORKS ON TESTERposted in Bug Reports
All I can think is to take it off candle open and change to candle close, the EA is expecting price to move from 1 side of the MA to the other, but open is a fixed price. Alternatively, set the ID1 open <or> MA and ID0 opposite
-
RE: HELLO BEEN HAVING A PROBLEM WITH THE BUY PENDING ON MT5posted in Bug Reports
Then your lot size is likely too large for your broker stipulations.
-
RE: Fractal Arrow confirmation using object on chartposted in Questions & Answers
Fractals can repaint, this is why people will use ID3
-
RE: Fractal Arrow confirmation using object on chartposted in Questions & Answers
Fractal appears on ID2, save the candle time in a variable
-
RE: How to get reputation points ?.posted in Questions & Answers
For me they are just added, I think it is from when people complete actions like following, from help and content you have done for others
-
RE: How Do I Set Up This Custom Indicator To Work In An EAposted in Questions & Answers
Add a picture of your data window to see what values you have
-
RE: HAVING PROBLEM WITH CHECK DISTANCE MT5posted in Bug Reports
As I said the cross on the candle open will probably will never happen, but test 1 condition at a time until you find the problem...
-
RE: Need a custom MQL Code to remove the EA.posted in Questions & Answers
Use the terminate block, I prefer to stop it working until it's ready to trade
-
RE: I want to keep values until reset them?.posted in Questions & Answers
Use global (terminal) variables in the same way but instead.
-
RE: MT5 Time frame is not giving the right figureposted in Bug Reports
No, because MT5 is different to MT4, it works the same, you just can't manually read it the same
-
RE: How pick the loss value ?.posted in Questions & Answers
On trade tab-trade closed-check profit-if win do nothing, if loss save the value using pink for trade each closed trade
-
RE: How Do I Set Up This Custom Indicator To Work In An EAposted in Questions & Answers
You can add pictures here. Adding buffers will only work if the indicator already has them, if you have buffer values in the data window, you can use them, if not you can't.
-
RE: MT5 Time frame is not giving the right figureposted in Bug Reports
This is how MT5 works, you would have to convert to see a more readable format, from CHAT GPT:
string TimeframeToString(int timeframeValue)
{
switch (timeframeValue)
{
case 1: return "1 minute";
case 5: return "5 minutes";
case 15: return "15 minutes";
case 30: return "30 minutes";
case 60: return "1 hour";
case 240: return "4 hours";
case 1440: return "1 day";
case 10080: return "1 week";
case 43200: return "1 month";
default: return "Unknown timeframe";
}
}
