|
View previous topic :: View next topic |
Author |
ma cross and macd cross |
svkum White Belt
Joined: 14 Feb 2007 Posts: 321
|
Post: #1 Posted: Thu Aug 15, 2013 3:19 pm Post subject: ma cross and macd cross |
|
|
hemant ,
pl help me getting code for(in platinum )
1) ema1> or <ema2
2)MACD <0> 0
3) EMA> CLOSE
4) EMA < CLOSE
5) ST cross for 10/3 or 5/3
WILL THIS CODE WORK FOR ANY TF ?? |
|
Back to top |
|
|
| |
hemant.icharts Site Admin
Joined: 10 May 2011 Posts: 334
|
Post: #2 Posted: Fri Aug 16, 2013 9:47 am Post subject: |
|
|
1)
EMA(CLOSE, 50) > EMA(CLOSE, 100)
EMA(CLOSE, 50) < EMA(CLOSE, 100)
2)
This for when MACD crosses 0 from below
SET A = MACD(13, 26, 9, EXPONENTIAL)
SET B = 0
CROSSOVER(A, B) = TRUE
This for when MACD crosses 0 from above:
SET A = MACD(13, 26, 9, EXPONENTIAL)
SET B = 0
CROSSOVER(B, A) = TRUE
This to know which scrip is above 0
MACD(13, 26, 9, EXPONENTIAL) > 0
This to know which scrip is below 0
MACD(13, 26, 9, EXPONENTIAL) <0
3)
CLOSE < EMA(CLOSE, 50)
4)
CLOSE > EMA(CLOSE, 50)
5)
Scanning on Super Trend is not possible.
Yes It will work for all time frames. |
|
Back to top |
|
|
svkum White Belt
Joined: 14 Feb 2007 Posts: 321
|
Post: #3 Posted: Fri Aug 16, 2013 10:39 am Post subject: |
|
|
THANKS HEMANT , WILL TRY NOW |
|
Back to top |
|
|
ronypan White Belt
Joined: 07 Aug 2010 Posts: 197
|
Post: #4 Posted: Thu Sep 11, 2014 8:38 pm Post subject: |
|
|
This is the condition to search crossover of 5 and 13.
CROSSOVER(EMA(CLOSE, 5), EMA(CLOSE, 13)) = TRUE
But If I want to search today's volume is greater then average of last 3 days volume. Then What will i have to write? |
|
Back to top |
|
|
kamal.icharts Site Admin
Joined: 10 Apr 2013 Posts: 576
|
Post: #5 Posted: Fri Sep 12, 2014 9:21 am Post subject: |
|
|
Dear Member,
Please use the following code
VOLUME > SMA(VOLUME,3)
Regards
Kamal
ronypan wrote: | This is the condition to search crossover of 5 and 13.
CROSSOVER(EMA(CLOSE, 5), EMA(CLOSE, 13)) = TRUE
But If I want to search today's volume is greater then average of last 3 days volume. Then What will i have to write? |
|
|
Back to top |
|
|
ronypan White Belt
Joined: 07 Aug 2010 Posts: 197
|
Post: #6 Posted: Fri Sep 12, 2014 6:44 pm Post subject: |
|
|
Thanks a lot Sir..
One more thing How can i learn to write such coding for my own scripting?
Because I don't know anything about such variables you wrote in scripting.
Because I want to make Coding for RSI Divergence. I will be very thankful if you can provide me the scripting.
Rony
kamal.icharts wrote: | Dear Member,
Please use the following code
VOLUME > SMA(VOLUME,3)
Regards
Kamal
ronypan wrote: | This is the condition to search crossover of 5 and 13.
CROSSOVER(EMA(CLOSE, 5), EMA(CLOSE, 13)) = TRUE
But If I want to search today's volume is greater then average of last 3 days volume. Then What will i have to write? |
|
|
|
Back to top |
|
|
kamal.icharts Site Admin
Joined: 10 Apr 2013 Posts: 576
|
Post: #7 Posted: Sat Sep 13, 2014 10:36 am Post subject: |
|
|
Dear Member,
You can refer the file given at http://www.icharts.in/forum/scripting-language-for-platinum-charts-t4375.html
Most of the functions that can be used are given over here with the syntax and example. Apart from that, if you have any specific requirement, you can always mail to our support team.
For RSI divergence, I request you to mail us and the team will reply you back.
Regards
Kamal
ronypan wrote: | Thanks a lot Sir..
One more thing How can i learn to write such coding for my own scripting?
Because I don't know anything about such variables you wrote in scripting.
Because I want to make Coding for RSI Divergence. I will be very thankful if you can provide me the scripting.
Rony
kamal.icharts wrote: | Dear Member,
Please use the following code
VOLUME > SMA(VOLUME,3)
Regards
Kamal
ronypan wrote: | This is the condition to search crossover of 5 and 13.
CROSSOVER(EMA(CLOSE, 5), EMA(CLOSE, 13)) = TRUE
But If I want to search today's volume is greater then average of last 3 days volume. Then What will i have to write? |
|
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
|