Download MetaTrader 5

Problem on the Stochastic indicator

To add comments, please log in or register
Antoine
92
Antoine  

Hello,

I would like to know how is it possible to get the value of the 2 lines of the Stochastic indicator because I would like to do a Buy/Sell Signal when there is a cross of these 2 lines...

Somebody could help me please???

 Thank you. 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Object Types
  • www.mql5.com
Standard Constants, Enumerations and Structures / Objects Constants / Object Types - Documentation on MQL5
Alexey Da
Moderator
6648
Alexey Da  

Please read this topic https://www.mql5.com/en/docs/series/copybuffer.

Pay attention to  buffer_num argument.

Documentation on MQL5: Timeseries and Indicators Access / CopyBuffer
  • www.mql5.com
Timeseries and Indicators Access / CopyBuffer - Documentation on MQL5
Antoine
92
Antoine  

Thank you Sir!!

To add comments, please log in or register