Forum

SuperTrend for EA keep the last 30 data

Hello, After some research, I was unable to find the solution to my problem. I explain, if someone has the solution, I'm interested :) On the SuperTrend indicator, ( see screen ), that I use for an EA, and I would just like to be able to keep the last 30 data of the supertrend (the red or green

DrawDown Management complex !?

Hello, I would like to code a money management , quite "complex", well I really can't figure out how I can do it. I explain you the principle, if someone knows how to do it ? And if it is possible ? I have my base capital, I allow myself to take 4 losses per day (not in %, just 4 sl, I'll explain

Need help for calendar eco and variable

Hello, I can't do what I want to do, despite several hours of research. I would like to get the time of the next economic announcement of the day which has a high importance (I already found the formula: ENUM_CALENDAR_EVENT_IMPORTANCE, but I don't know how to use it) to store it in a variable and

How "plot" a variable on chart, like plot in pinescript ?

Hello, I have a problem, I can't understand and especially to make a line that will follow the high (or low) on the graph. I looked at several forums, articles, etc. but I can't do it, so I'm going to create this topic to get some help. Before I coded in pinescript and as the mql5 is completely