Hello guys, I need some help with File-Management... if some requirements are met, my indicator saves a screenshot. This screenshot can only be saved in MQL5/Files. Now I want to copy or move this screenshot to any free folder. I tried it with
Hello guys, I am very confused. Why does this code not work if I press 'Q' but it works when I draw any object manually? void OnChartEvent ( const int id
Hi guys, is there a possibility to modify the code of the ZigZag indicator that the lines are drawn in the background behind the candles? I didn't find a solution how to do it with the buffers. I don't want to set the chart on foreground because I
Hey guys, I permanently use the Zigzag indicator in my template. But when I switch to the line chart I want to hide the Zigzag indicator. I thought about checking the CHART_MODE within the Zigzag code and if the line chart is active I wanted to set
Hi guys, I am (still) confused about the things in the headline. I made a little test indicator which plots a dot in the middle of a candle if the candle's size is larger than its ATR(100). Of course the indicator should only work if a new bar is
Hi all! I made an indicator which scans 28 forex pairs in 5 timeframes for a pre-defined setup. In this example I just scan for a candle's close above the previous candle's high. My question is now if my code is an elegant and efficient way to do it
Hey guys, is it somehow possible to change the color of a moving average in a code? Example: I have a moving average in my chart. Now I want to press a key and the color of the moving average should change
Hey guys, I made this little test-script: void OnStart () { Alert ( iTime ( "USDTHB" , 60 , 1 )); } The result was a date from 2018. When I started the script once again, the correct time and date was printed. I know this is because I
Hi, I wanted to code a script which changes the chart-mode (line, bars, candles) of all open charts . When dragging the script into a chart I want to choose the chart-mode with a pulldown-menu. But I don't know how to use the ENUM_CHART_MODE
Hi guys, I am migrating all my stuff from MQL4 to MQL5 and now I need to modify the stoploss of a position. I didn't find any corresponsing function to OrderModify() in MQL5. Can anyone tell me how to change the stoploss of a position when I received
Hi guys, I am trying to convert all my stuff from MQL4 to MQL5 and I have a big problem with iATR (and a lot of other stuff). Firstly, the MQL5-iATR-function returns a handle. Why? It was so easy with MQL4. Just returned the number and you're done