Marbo / Profile
Friends
10
Requests
Outgoing
Marbo
Added topic CHARTEVENT_OBJECT_CREATE does not react when an object is drawn
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
Marbo
Added topic ZigZag indicator only drawn in the background?
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
Marbo
Added topic Hide Zigzag indicator if line chart is active
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
Marbo
Added topic Question about OnCalculate() regarding prev_calculated / rates_total / IndicatorCounted()
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
Marbo
Added topic Syntax problem with Arrays
Hi guys, can anyone tell me how the correct syntax looks like? int timeframes[ 3 ]; if ( _Period == PERIOD_W1 ) timeframes[ 3 ]={ PERIOD_D1 , PERIOD_H4 , PERIOD_H1 }; else if ( _Period == PERIOD_D1 ) timeframes[ 3 ]={ PERIOD_H4 , PERIOD_H1
Marbo
Added topic Scanning 28 symbols in 5 timeframes
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
Marbo
Added topic Change existing chart indicator color in a code?
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
Marbo
Added topic How can I make sure that the latest history data is loaded when using a script?
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
Marbo
Added topic Problem with enumerations
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
Marbo
Added topic OrderModify() in MQL5?
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
Marbo
Added topic Big problems with iATR and MQL5
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
: