To access indicator buffer you have to use CopyBuffer.
![Documentation on MQL5: Timeseries and Indicators Access / CopyBuffer Documentation on MQL5: Timeseries and Indicators Access / CopyBuffer](https://c.mql5.com/36/78/documentation-on-mql5-timeseries__4.png)
Documentation on MQL5: Timeseries and Indicators Access / CopyBuffer
- www.mql5.com
CopyBuffer - Timeseries and Indicators Access - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Also you can use this example: https://www.mql5.com/en/forum/442816#comment_45465340
![Let's discuss video "Scalping Strategy | 5 EMA Game Changer Setup | Trading in Share Market" - How can I trade on the stock market? Let's discuss video "Scalping Strategy | 5 EMA Game Changer Setup | Trading in Share Market" - How can I trade on the stock market?](https://c.mql5.com/36/78/let-s-discuss-video-scalping-strategy.jpg)
Let's discuss video "Scalping Strategy | 5 EMA Game Changer Setup | Trading in Share Market" - How can I trade on the stock market?
- 2023.03.03
- www.mql5.com
Logic : when a candle closes above 5 ema in 5 mins chart, wait for its low to break and sell when low is broken by wick, your sl should be above the candle's high and target should be 3 times of candle range (high - low) when a candle closes below 5 ema in 5 mins chart, wait for its high to break and buy when high is broken by wick, your sl should be below the candle's low and target should be 3 times of candle range (high - low) manually its hard to trade but any ea may bring good result as a single mistake on risk management may cause huge loss. Im from india, i know this guy copies other strategies from forex forums and post videos on youtube, nothing special, here it was shared in 2011
thx for fast reply , but it doesnt work to be honest i tried CopyBuffer(HandleREGRESSION,0,0,1,REGRESSIONBuffer);
and it doesnt give me the actual value of the regression.
that was it ! thx alot
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello i tried to get some indicator data of a Regression Indicator (Code Below)
i tried to get the color and the value in this case valc and val ,
i tried variations like iCustom(NULL,0,INDICATORNAME,0,1)
but it doesnt work.
thx for help