Hello im new to coding
this is how it should work,
there are 2 MA´s, one with Period 5 and the larger one with Period 50
if them are crossing each other i want to open a long or a short Position.
that were my thoughts about the entry
now the close of the positions
i want to use the Rsi for example. If we have a open long position i want it to be closed if the rsi hits the 70 level
if i have a short position, i want it to be closed if the rsi hits the 30 level.
give me some coding ideas pls
Hi Gerem,
Have you figured out a solution to this problem. I'm sitting with the same issue.
I've tried coding it using the built in RSI function and Position.Close but it doesn't seem to recognize the RSI level. I tested my Position.Close function on it's own, which seems to work. But even when I try to send an alert on a certain RSI level it doesn't work.
Cheers
Vikki
What issue? There is no problem stated.
Only a “I want.” Learn to code or pay someone.
Hi William,
Thank you for your comment, however, my question was not aimed at you.
I've read your comments on some of the other questions that other coder had and I must admit, you don't seem to have any social skills. Maybe you should learn some or pay someone to comment for you.
We are supposed to learn from each other on this platform, and not criticize the newcomers. Stop taking the fun out of learning.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello im new to coding
this is how it should work,
there are 2 MA´s, one with Period 5 and the larger one with Period 50
if them are crossing each other i want to open a long or a short Position.
that were my thoughts about the entry
now the close of the positions
i want to use the Rsi for example. If we have a open long position i want it to be closed if the rsi hits the 70 level
if i have a short position, i want it to be closed if the rsi hits the 30 level.
give me some coding ideas pls