Hodgkin Huxley Action Spike
- Indicatori
-
Anthony Cooke
Quantitative Systems Architect and C++, Python, MQL5, MQL4, and Pine Script developer specializing in non-repainting mathematical indicators, Expert Advisors, and statistical strategy audits. I combine industrial quality-control engineering and Applied Mathematics with multi-physics market modeling - Versione: 1.0
- Attivazioni: 5
Overview & Scientific Origin The Hodgkin-Huxley Neuro-Synaptic Action Spike is an institutional quantitative indicator engineered from Computational Neurobiology and Biophysics .
Developed by Nobel Prize-winning biophysicists Alan Hodgkin and Andrew Huxley to model how electrical signals travel through the human brain and nervous system, the Hodgkin-Huxley equations describe how a biological neuron absorbs small, random electrical disturbances until the charge crosses a critical threshold—causing ion channels to snap open and fire an explosive, all-or-nothing Action Potential (Synaptic Spike) . This indicator translates biological neural gating into a strictly causal, non-repainting momentum ignition detector for Gold (XAUUSD), Silver (XAGUSD), Major Forex pairs, and US Indices .
Mathematical Mechanism & What It Does
Standard retail oscillators (like RSI or Stochastic) twitch continuously with every minor tick, generating false signals in sideways markets. A biological neuron solves this problem through membrane resistance and non-linear ion-channel gating :
-
Resting Membrane Equilibrium: Across a 55-bar lookback window, the algorithm calculates the rolling statistical mean and standard deviation of closing prices to measure the current Z-score (raw electrical stimulus) .
-
Sigmoid Ion-Channel Gate: Instead of plotting raw Z-scores, the indicator passes the deviation through a non-linear biological sigmoid activation function ( 1 / (1 + exp(-|Z|)) ), plotting a continuous Aqua wave called Membrane Potential bounded between -4.5 and +4.5 .
-
All-or-Nothing Action Spike: Small price fluctuations are dampened by the sigmoid gate . Only on the exact bar when the continuous Membrane Potential breaches the critical firing threshold ( +2.0 or -2.0 ) does the virtual ion channel snap open—firing a crisp LimeGreen Action Spike histogram bar ( +3.5 for bullish ignition, -3.5 for bearish ignition) .
How to Trade With This Indicator
-
Bullish Synaptic Firing Trigger (+2.0 Breach): When the continuous Aqua Membrane_Potential line crosses above +2.0 and triggers a bright LimeGreen Action_Spike pillar at +3.5 , buying pressure has broken through membrane resistance—signaling an immediate bullish breakout entry .
-
Bearish Synaptic Firing Trigger (-2.0 Breach): When the Aqua Membrane_Potential line drops below -2.0 and triggers a LimeGreen Action_Spike pillar at -3.5 , the model confirms an explosive bearish breakdown .
-
Sub-Threshold Resting State (-2.0 to +2.0): When the Aqua line glides inside the -2.0 to +2.0 equilibrium zone and the spike histogram remains flat at 0.0 , the market is in a "resting membrane state" where background noise is absorbed and trend entries should be avoided .
-
Technical Specifications & Input Parameters
-
Calculation Engine: 100% causal bar-by-bar execution with zero repainting, zero backpainting, and zero external DLL dependencies .
-
InpPeriod (Default: 55): Rolling membrane equilibrium lookback window for baseline mean and volatility scaling .
-
InpThreshold (Default: 2.0): Critical ion-channel firing threshold required to trigger an Action Spike .
-
Prop-Firm & EA Ready: Exposes two clean indicator data buffers ( Action_Spike in Buffer 0 and Membrane_Potential in Buffer 1) for instant integration into prop-firm Expert Advisors .
