| New signals service! | |
|
|||||||
| Register in Forex TSD! | |
|
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time). Click here to register and get more information |
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
In case it has not been noticed
Hi!
I am quite newbee into all this. Have been practising FOREX on Demos.Have come to know and understand the indicators and while fiddling around with them, i noticed something.I dont know if it is old stuff. It can be handy in eliminating having many indicators saying the same thing. What i noticed is price crossing a Moving Average (smoothed) is same as RSI (the value of the Moving Average) crossing its 50th level.For example price crossing MA21(smoothed) = RSI 21 crossing its 50th level You can try with other MA(smoothed) and RSI of MA value. It gives the same indications. You can also try diff Time Frames. It all says the same. Hope this helps in coding or programming EAs. See attachment. Have plotted a few examples. victor |
|
|||
|
hm...strange...
RSI code:
rel=Close[i]-Close[i+1]; if(rel>0) sump=rel; else sumn=-rel; positive=(PosBuffer[i+1]*(RSIPeriod-1)+sump)/RSIPeriod; negative=(NegBuffer[i+1]*(RSIPeriod-1)+sumn)/RSIPeriod; } PosBuffer[i]=positive; NegBuffer[i]=negative; if(negative==0.0) RSIBuffer[i]=0.0; else RSIBuffer[i]=100.0-100.0/(1+positive/negative); Last edited by fxbs; 12-09-2007 at 05:40 PM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|