bool EarthManipulator::handle(const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa) { bool handled = false; // first order of business: make sure the CSN is established. if ( !established() ) return false; // make sure the camera projecti…
通达信zig函数的python实现 代码 # coding: utf-8 """ Created on Sat Jan 05 18:53:39 2019 http://www.pianshen.com/article/363258879/ @author: duanqs """ import numpy as np import tushare as ts import matplotlib.pyplot as plt ZIG_STATE_STA…
{底背离,通达信版.同花顺版} DIFF:=EMA(CLOSE,) - EMA(CLOSE,); DEA:=EMA(DIFF,); MACD:=*(DIFF-DEA); QZQ:=BARSLAST(REF(MACD,)< AND MACD>); QM:=LLVBARS(MACD,QZQ+); MQDZ:=IF(QM>QZQ,REF(MACD,QM),); XG1:=MACD< AND MACD>MQDZ AND CLOSE=LLV(CLOSE,QZQ+) AND MQDZ&l…