Create Indicator based on data from Sql

 
How do you get data from SQL for an indicator?
 
wehsnim:
How do you get data from SQL for an indicator?

MQL5: Create Your Own Indicator

https://www.mql5.com/en/articles/10

Applying One Indicator to Another

https://www.mql5.com/en/articles/15

MQL5: Create Your Own Indicator
MQL5: Create Your Own Indicator
  • 2010.01.06
  • MetaQuotes Software Corp.
  • www.mql5.com
What is an indicator? It is a set of calculated values that we want to be displayed on the screen in a convenient way. Sets of values are represented in programs as arrays. Thus, creation of an indicator means writing an algorithm that handles some arrays (price arrays) and records results of handling to other arrays (indicator values). By describing creation of True Strength Index, the author shows how to write indicators in MQL5.
Reason: