Login Page - Create Account

Support Board


Date/Time: Wed, 26 Jan 2022 05:51:30 +0000



[User Discussion] - please help convery easylanguage study to sierra chart Thanks

View Count: 1441

[2013-05-14 15:54:41]
User62783 - Posts: 3
my easy-language study is below. anyone can help me convert the study to sierra chart Thanks

---------------------------------------------------------------------------------------------
input:n(9),up(70),down(30);
variable:K_line(50),D_line(50),RSV(0);
RSV = ((close - lowest(low,n)) / (highest(high,n) - lowest(low,n))) * 100;
K_line = (2/3) * K_line[1] + (1/3) * RSV ;
D_line = (2/3) * D_line[1] + (1/3) * K_line ;

if D_line > up and K_line cross under D_line then
exitlong next bar at market;
if D_line < down and K_line cross over D_line then
buy next bar at market;

if D_line > up and K_line cross under D_line then
sell next bar at market;
if D_line < down and K_line cross over D_line then
exitshort next bar at market;
[2013-05-14 22:27:50]
Sierra Chart Engineering - Posts: 100044
Did you need this part of it:


if D_line > up and K_line cross under D_line then
exitlong next bar at market;
if D_line < down and K_line cross over D_line then
buy next bar at market;

if D_line > up and K_line cross under D_line then
sell next bar at market;
if D_line < down and K_line cross over D_line then
exitshort next bar at market;

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2013-05-15 13:43:08]
User62783 - Posts: 3
if D_line > up and K_line cross under D_line then
exitlong next bar at market;
if D_line < down and K_line cross over D_line then
buy next bar at market;

if D_line > up and K_line cross under D_line then
sell next bar at market;
if D_line < down and K_line cross over D_line then
exitshort next bar at market;

YES, I need it to work on sierra chart. thanks
[2013-05-15 15:51:55]
User62783 - Posts: 3
any suggestions on this? Thank you very much
[2013-05-15 20:41:24]
Sierra Chart Engineering - Posts: 100044
Refer to this page:
http://www.sierrachart.com/index.php?l=doc/SierraChartStudyAndSystemProgrammers.html
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account