Forum

How to shade entire area drawn like Ichimoku Kumo (cloud) and render it as a background object?

To all: Is there a way to share the area between 2 irregular lines of a custom indicator ? Can this area be rendered as a background object instead of on top of the chart candles. For example, the Ichimoku indicator draws a histogram the represents the Kumo or cloud. The histogram is rendered

Script using CChartObjectArrow class fails to display an arrow on a chart?

Could someone please tell me why this simple script fails to draw an arrow on a chart that it is run on? It has to be something simple, but I am unable to see it. When debugged, it seems to create the chart object and set its values, but the arrow never is displayed on the chart

iClose() issue when backtesting Vs. forward testing

Hello, If I include the statement : Print("EURUSD Close :: ", DoubleToStr(iClose("EURUSD",PERIOD_M30,0),Digits) in an EA, and attach the EA to a forward tested GBPUSD chart, the Ea prints the correct iClose value for the EURUSD . But.... If the same EA is backtested on a GBPUSD chart, (for the

How to use something like SetIndexShift() to render an OBJECT ahead of the most current candle?

Is there a way to use something like SetIndexShift () to render an OBJECT ahead of the most current candle? I'd like to draw something like an OBJ_RECTANGLE, and locate it by replacing Time[] as an argument with a X candle index shift forward from the most current candle . I tried to do the

Can an EA create 2 windows at runtime and share common headder files between them?

Is it possible to launch an EA and have it utilize 2 windows? I have an EA that uses several header files. I would like to display status information about the running EA in a separate window (like a custom indicator). I need both windows to share a single instance of the various header files