No sample because it means I would have to do the work for you, but this is what happens when you draw a rectangle before the comment using the same position.
Posts made by jstap
-
RE: How I can make background for the comment area?posted in Questions & Answers
-
RE: I can't manage MAX AND MIN SPREAD SHOWING on chart when spread is floating.posted in Questions & Answers
I know but I don't know how you would get it
-
RE: Draw arrowposted in Questions & Answers
In the block select Wingding, and get the code from that page
-
RE: My Indicator Line Styleposted in Questions & Answers
Add the indicator to look at, I think all you need to do is add this enum input name {list of input variables (spelt as they are)}
-
RE: Zig Zag Indicator - Draw New Line after No Tradeposted in Questions & Answers
You have this under a buy/sell block? Try drawing on the on trade tab.
-
RE: Zig Zag Indicator - Draw New Line after No Tradeposted in Questions & Answers
Add a shared link to look at
-
RE: Draw arrowposted in Questions & Answers
Use the wingding option, and get the codes from here: https://docs.mql4.com/constants/objectconstants/wingdings
-
RE: how to check profit and close for each symbol?posted in Questions & Answers
Put it together and if you struggle add a shared link. Get the current running profit for the symbol using the block to get the number, then any other block to view and act on the result.
-
RE: nugget sizeposted in Questions & Answers
You could just ignore it, as standard blocks will use the point value, so it is the same as what you get when you drag the cross hair across your chart
-
RE: how to check profit and close for each symbol?posted in Questions & Answers
Use bucket of trades
-
RE: My Indicator Line Styleposted in Questions & Answers
At the top of adding your indicator in FX is enum variables, put something like this ENUM_LINE STYLE name of constant in indicator input {name in list0,nameintist1name in list2, etc for all names in list} enums are numbers starting at 0, so in the indicator they use int numbers to select
-
RE: EA does not follow conditions set.posted in Questions & Answers
once per candle check the buffer and print the corresponding colour, use candle ID1 so you know it's confirmed
-
RE: Condition based on user-input in the EAposted in Questions & Answers
Create the constant
type=bool
name=what you want
value=true/false
right click and add to your condition block -
RE: ATR for SL and TP, Risk differencesposted in Questions & Answers
As I put above, candle ID0 close as stop, adjust by the ATR code I put above.
-
RE: ATR for SL and TP, Risk differencesposted in Questions & Answers
ATR is a price fraction, I have never used it like this, if you use what I put above in the adjust field, then it will add or minus the ATR pip value to the current price, candle ID0 close
-
RE: EA does not follow conditions set.posted in Questions & Answers
On every candle draw a red or green line so on backtest you can check if the line colours match up with the indicator
-
RE: ATR for SL and TP, Risk differencesposted in Questions & Answers
Have never used custom price fraction as SL & TP, you may need to use the current price, then +iATR(NULL,0,14,1) or -iATR(NULL,0,14,1)in adjust.
-
RE: EA does not follow conditions set.posted in Questions & Answers
With custom indicators, you need to check that the used buffer contains a useable value.