如何设置在60根蜡烛内触发信号,我只需要这60根蜡烛内的信号
-
在30均线上穿60均线之后,60根蜡烛内任意一根蜡烛收盘价上穿均线60,请问如何设置
-
在30均线上穿60均线之后的60根蜡烛内任意一根蜡烛收盘价上穿均线60开仓买入,我现在不知道如何设置,并且我是个新手,请用图片示例
-
You will have to explain a little more on exactly what you mean?
-
我需要30均线上穿60均线后开始数60根蜡烛,,在价格跌破60均线后的再次突破60均线为买入信号,买入信号只能在这60根蜡烛内有效
-
Ok this changes everything, when you get a cross set a variable to 0, then once per bar add 1 to this variable, if this is < 60 and you get the cross you have the buy signal, if no signal reset to 0, and do this every bar until you get another cross. Set up a test project so you can watch on backtest, then you can add a shared link and say what's not working.
-
我不懂编程,请问该如何设置变量,该如何读取变量?能用图片演示吗?
-
Variables are set on the upper left, create then put the ma value in it, display this in a comment, then you can watch on backtest to see if it works. Call the variable what you want and leave it a double - modify variables block with indicator relevant values - comment block variable and label it what you want. If you struggle with this add a shared link. project screen-projects-create link-open in web page-copy from the address bar and paste here
-
-
