Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Hi. I would like to recode a Prorealtime strategy to Easy-Language (for use with TS).
Its based on parabolic-sar and includes a short circuit to halt entrysignals during extremely bearish conditions.
Could anyone assist with the following code:
.......................................................................................................
REM Buy
indicator1 = SAR[0.02,0.02,0.2]
indicator2 = close
c1 = (indicator1 CROSSES OVER indicator2)
Obviously, you will need to adjust the input values to match what your Prorealtime code, but I think this approximates what you are looking for. The psar cross over would need to be tweaked a bit, I think. I have not tested this, however.
Regard,
-C
“Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat.” - Sun Tzu
thanks alot for the prompt reply/code. However it doesnt work. it passes the E-Language verification however no signals are generated.
i kept tweaking it over and over to see if one particular variable was causing it not to work, but that didnt work.
i removed everything relating to MACD and had it try and buy and sell based only on the parabolic sar crosses and this did not work either. it seems it is primarily caused by the use of the Parabolic Sar references.
Also the code you have posted shows sellshort. this is a long only type strategy.
The entries look like this:
freeimagehosting . net /t/69rzq. jpg
(link without the spaces - as i am a new member i cannot post links till post count > 5)