Display value when fractal is visible and deletes value when fractal is no longer visible
-
This one I have difficulties with.
https://fxdreema.com/shared/9Yl9MvDkdIt looks the way it does atm because I've been trying all sorts to try get it working.
Anyone with experience with something like this ?
0_1628445813890_1.mq5
0_1628445954914_Twiggs_Money_Flow.mq5
0_1628449391735_1.mq5 Updated -
@johann-0 I don't have much experience in drawing but you have a numeric variable being put into another then placing value as text, try and change all to text or number, otherwise have a condition if variable1=# put text in variable 2.
-
@jstap that has no effect on anything. it's not a calculation but merely a naming mechanism. the string is sperate from the integer but joined to create the name.
There is two separate jobs being done
-
The text is given a name and number automatically by Mt5
The name is specified and number increases on it's own every time text is drawn. -
The name and numbering is cloned on a sperate system in a loop.
The name is specified (string) - typecasting
The number is increased every time text is drawn (int) +1
This is to specify which object to delete that goes by that name.
-
-
@johann-0 Hi john, c1name as number, c1name1 receiving the number, c1name1 being drawn as text, in anything I have done on FXDreema nothing has worked changing the type, I havent downloaded the file to look at type but, c1name must be a double or int, c1name1 must be a string so I see no way you can put a number into text without converting, I may be wrong but try this and see if your problems are fixed, I would also put all variables into a comment block so you can visibly see what is happening.