Yes, I got the same issue. Let’s report it on your side, I’ll do it too.
Yes, I got the same issue. Let’s report it on your side, I’ll do it too.
I sent a report already but that was with the incorrect code so I will send another with the correct code.
Prorealtime can be programme toward neural strategy with this feature implementation by segmentation of trading time into night and day period.
@rajiwas great! do you have some examples please?
@Vonasi
About your issue, another zero divide problem you can fix with:
if gap <>0 then
closelineW = ((close - bb) / gap) * 100
endif
PRT is working to add better explanation about error when compiling code.
I don’t have any code for that now but stripping your code I have this outline below.
defparam cumulateorders=false
TIMEFRAME(4 hour,barclose)
trend = average[50,1]
If close > trend then
weight = 1
else
weight = -1
endif
TIMEFRAME(1 hour,barclose)
trend = average[100,1]
If close > trend then
weight = 1
else
weight = -1
endif
TIMEFRAME(15 minnute,barclose)
trend = average[200,1]
If close > trend then
weight = 1
else
weight = -1
endif
TIMEFRAME(default)
sync = average[20]
b = summation[3](weight)
if b > 2 and close crosses over sync then
Buy Limit
else of b < 2 and close Crosses under sync then
sell limit
endif
////
Hope that this gives the general idea, important fact is the weight and can be series of indicator and sum will determined by system what the next of action is, so it flexible to continuous evaluation by the system itself which is neural.
rajiwas – please use the ‘Insert PRT Code’ button when putting code in your posts to make it more readable for others. I have tidied up your last post for you. 🙂
UPDATE: MTF should be released for IG and PRT Sponsored – DEMO accounts only, next Wednesday.
A probe with the function TIMEFRAME to filter a system
The upper one without filter, the lower one with a MACD in 2h
With IG demo account seems that now the timeframe instruction is in line but the backtesting will not run again…..
yes – think it works tomorrow like nicolas said
i tried too – doesnt work today :/ propaply nicolas could help?
Something is work in progress …
Yes, ProOrder recognize the TIMEFRAME keyword and colours each section differently, still ProBackTest doesn’t accept them, as Cris48 said… works in progress!