Hello.Thank you for your code.
double perceptron1() { double w1 = x11 - 100; double w2 = x12 - 100; double w3 = x12 - 100; double w4 = x12 - 100; double a1 = iClose(m_symbol.Name(),Period(),0) - iOpen(m_symbol.Name(),Period(),p1); double a2 = iOpen(m_symbol.Name(),Period(),p1) - iOpen(m_symbol.Name(),Period(),p1 * 2); double a3 = iOpen(m_symbol.Name(),Period(),p1 * 2) - iOpen(m_symbol.Name(),Period(),p1 * 3); double a4 = iOpen(m_symbol.Name(),Period(),p1 * 3) - iOpen(m_symbol.Name(),Period(),p1 * 4); return(w1 * a1 + w2 * a2 + w3 * a3 + w4 * a4); } double w3 = x12 - 100; double w4 = x12 - 100;
Is it wrong?
It worked earlier.
Vladimir Karputov:
It worked earlier.
It worked earlier.
Thank you Sir.

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
MTC Neural network plus MACD:
Author: Vladimir Karputov