Just wonder if there is a way that I can share a calculated value from one signal to another signal for backtesting and both signals are in the same chart.
I tried the global variable (GV) and i_setplotvalue/i_getplotvalue, it seems both do not work in backtesting.
Should I just use external file?
Thanks.
MKKL
Share a calculated value between two signals in the same chart for backtesting
Re: Share a calculated value between two signals in the same chart for backtesting
Found the solution from another post. Use the following functions can share the calculated values among signals in the same chart, tested and it worked.
AccuracyGetNamedDouble
AccuracyGetNamedInt
AccuracySetNamedDouble
AccuracySetNamedIn
viewtopic.php?t=52407&p=134489#p134489
MKKL
AccuracyGetNamedDouble
AccuracyGetNamedInt
AccuracySetNamedDouble
AccuracySetNamedIn
viewtopic.php?t=52407&p=134489#p134489
MKKL