- gogoknow: i really could see any problem, could someone help?
Use the debugger or print out your variables, including _LastError and prices and find out why. Do you really expect us to debug your code for you?
Your code if (B_P_close >= B_P_level && B_P_close >= B_P_open) { b_shadow=true; } else { b_shadow=false; } return (b_shadow);
simplified return B_P_close >= B_P_level && B_P_close >= B_P_open;
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i tried to code a function to see if there is a bullish candlestick with long shadow/wick, but when i backtested it, there are many trades happen in candlestick without long shadow/wick. i double check my function, i really could see any problem, could someone help? thank a lot.