Acceleration/Deceleration Technical Indicator (AC) measures acceleration and deceleration of the current driving force. This indicator will change direction before any changes in the driving force, which, it its turn, will change its direction before the price. If you realize that Acceleration/Deceleration is a signal of an earlier warning, it gives you evident advantages.
The nought line is basically the spot where the driving force is at balance with the acceleration. If Acceleration/Deceleration is higher than nought, then it is usually easier for the acceleration to continue the upward movement (and vice versa in cases when it is below nought). Unlike in case with Awesome Oscillator, it is not regarded as a signal when the nought line is crossed. The only thing that needs to be done to control the market and make decisions is to watch for changes in color. To save yourself serious reflections, you must remember: you can not buy with the help of Acceleration/Deceleration, when the current column is colored red, and you can not sell, when the current column is colored green.
<metadata> ebd7003f324a59349ff34d6d4e3891f45c2e0774e58c49262e408db05476bb8a5f710f3f3a18be9e096c157b91f2523d0c681c75315f187f053803212653fd898cea7e53f9c13d1ff7c8e4da605c29449ef1a2c617629bf7e08589a9c6b0d6b3b1c31063345d701f5a34ead704266a5b624c3d0de8ca407e320ed9b7ddbc610c44213d037b3a88eb8eed3257acc0f09593e1b2d3d8accba46a18c6fa99b6d0bea5c4c7aadebbedd3ffc347332c556313482d5b659bd2d5bb6b0fb4dd553658397e0a3a55a7d5be82416eb7c3bdc41c6cc7a2f8c6013d335f4b2aee802542255034556b0cdcb95c62b6fbb6e70448d9ed90ac0926d2bee988ed836304f0856504fa9d1673a799fec2452441343b4f68008ae53d4f0f31bafb81f480f480e8c4ab5123bd81496662035124a6d2553d4d227f0dd9e7e8d424476b04513c97e7fc9d2f414039ffc1f6b58ae5127f5b2b4120d2bcc1b8407c84abd5b6234c9af7c7b75c3d7c121d643c02a19de182b1dea7ca5b361277dab4483c2d5e3907c6fa86a90566fd92d4b9d6bb56335c32b0c4d1a26b5579452645056a2656e990186aa9c088ef751d7e0a82f1e8d6a7e46f00cdbd205984f6167f096ea1c99aeee1c11db49cbce0d274441424a491173ba484470a294cb5c1caab0958493c1b740773c0a57e0dd3f31f4c2e419dfb7d09a6d1e081e0929efb4262783bddb22456a7d74b65bf83bf90ceadec833b4b3f465d2fdab3f0976800d0a4671407399ba7e58185e4f682bcd92e61b2d4e1a20d7fd2b7d3b27400abc2ff90fb95e6d87a486256dbf5d8e87745fdd399abf6c6deef6b5afac6ebc4f397c9a88ffb0164f3bc2147a9ea0b79197cd9b8acd89df46d02acc23d03ebd79cf9fa82f787f0b4f899add92a4f96a89eae1a2bdcf2e2d2e4d5301ea1914f7faa9a2110360afad5debb364e32423f7bc4a56f1b3e5bb08e417d700084e5f182a3d0a5d2a4cb1e6cb5d12f11172b92bd29593352c6b5e29123547817d1a33a5e192765593f5a89f1d6b7422c571bcbaa2e406c0b300e2d7d0f7dd0bf7f2bdfad25441470640170021d514524c2acef8896e32d4c1b7c0c69a49880af4227f58d167792fc2b674524cba594f3f7c99fa3c4b645204a2ca0c57103c8ad513ffa9943267407734ddee26416c5a06b0d6702deacb4d1600e096acaaf8fb14912aa8fb3e32d7f4906c7800557460745087550f8a5005c1b4b513094f78ee5e4855136690c92e11f43fd9013622f434377fbd59eee06651b76eed2cbe42d5f96f363056b0ee99b84e1ec82c5a6dbbe7c42221ed1fe8efc583ddeb83055aedc6c09abc52f4cb3d62e5df2cc526ee980432dc4a061084c2ff19084f0e08f4634256a36461c682c454d22355b77042202fd8e284def9f4524e39105647105dbbebd8030120f5bc2b0f3866b0e23011927aa96e08c046d2e401f7a5676432d3150e38eacc9af92d4f61c507910d7b9c9ace1c17849654730104f2c264982eea7c8e89a75488cae537ea594e8de9bac6c5b734472409cada294ceece2c2f4876c185920234ff194fac7f2d03e0e4c6e4f6f2057c7ae89ed483cadc5d2efd8fa7d4cbf9d84a4d6a54831abc6ccaed5bac3af211c143683b13e0f566107259fbf88fea8c15c2f86efb9dbd8b44326cbf6ae8c8cd84c3e532680e5cdef516fa9957b542945086198f62d48231d69553c501871fa9481e48aaaf7993a5b335e6b0e0f32cceea2ee137af89665003e1ea69754768cac7b183857eb87e887a1d383be89ab8da06c5dffc9c9fe192d4276d5e1586ce5dd5f7d6747bdce0f7b255c5c301f7a0d30d1f3c6f62301d4f48afd3a534226bdc9e880a79a2604cdfce5c7c8e8ccbf5f2690fd95f792fdf894330e260445773c0d3a0d95b7a181a0d6aec78af9395085e7b0dc3257ae93f9dbe8bcc7b5d7a26c0980a20b3590acf4dbb0dc066f7816f194b88694a8107c0a635c3281e4012180ee1e7f9ef382e77b46f2d0034f6801eb852f4a3c1c2d1f4d6f755580e307682b473a5581f3ccf1f5d77b56ac9a1a2fa89d92a1daec6d4f3e1e0e7d9febccb59bf753369ea37e5cf8c8efcd7b5b4f383b5250345327f991fdc0725094a51d3f82a233404d34630e5f3d9df22448a598c1e3f1c37b4a94a3c1e3defe97e161082e5d0f6644265539d5b0bb86bc9e2d798af8cebbfb9e81a3102e3509416e204c92fbc3adc9ace3dd7448f2dd1e776b0589ed620b14776504f783d8b721531c5321516b1f5a33365947291f6cb38d271bd3a0dfba6614e9803653d7a457699cda345590fcd4a750356e522b04cdbe1a7f9fed48212e4bd6a5310fa59986f4244113671f4b28517f0fb0d52a146622e08f5520f290503ce98cf5c9daf5c2b02d48d5a1c89cd7aef6866a0f231d3c00204d3e5fcab2296b6908522095e64e0c6607a6c5bad1261838086e52755a69042041a1d95a187415b3c1b5c67032d4b595f6046f3c023804147187e90c6d5331264a2f4a4504c2ae4722daa86d191d6e0638c5835435a9c585f6b8dd94a8daf52346f9970c6dc9ab9af662077f3ee985482d8efc0773eb98201edee2ff9a721c3657fd9fa1cdd9bc0d4ec7aa95e1ea98c6bf96a89adc5c3dfd91186bd8bd2519e9c66e0bd2bcb9d81e7cadc15f3a0142610c097df2805c250a34bc802a4f3a5489e87a18026e3257460f84ead3a7e99bd4b5b6d48bea3f4d142a460093f2adc14d3e3c59edd13d124326aec0ff9ef7950864ee8be6afa1cf5e2ac9bb02635d3f3859f5876a544579d3fc0b66650abeda16634d21462398a613d179d62a4fdb8347427662bbb5e377 </metadata> //+------------------------------------------------------------------+ //| Accelerator.mq4 | //| Copyright © 2005, MetaQuotes Software Corp. | //| http://www.metaquotes.net/ | //+------------------------------------------------------------------+ #property copyright "Copyright © 2005, MetaQuotes Software Corp." #property link "http://www.metaquotes.net/" //---- indicator settings #property indicator_separate_window #property indicator_buffers 3 #property indicator_color1 Black #property indicator_color2 Green #property indicator_color3 Red //---- indicator buffers double ExtBuffer0[]; double ExtBuffer1[]; double ExtBuffer2[]; double ExtBuffer3[]; double ExtBuffer4[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { //---- 2 additional buffers are used for counting. IndicatorBuffers(5); //---- drawing settings SetIndexStyle(0,DRAW_NONE); SetIndexStyle(1,DRAW_HISTOGRAM); SetIndexStyle(2,DRAW_HISTOGRAM); IndicatorDigits(Digits+2); SetIndexDrawBegin(0,38); SetIndexDrawBegin(1,38); SetIndexDrawBegin(2,38); //---- 4 indicator buffers mapping SetIndexBuffer(0,ExtBuffer0); SetIndexBuffer(1,ExtBuffer1); SetIndexBuffer(2,ExtBuffer2); SetIndexBuffer(3,ExtBuffer3); SetIndexBuffer(4,ExtBuffer4); //---- name for DataWindow and indicator subwindow label IndicatorShortName("AC"); SetIndexLabel(1,NULL); SetIndexLabel(2,NULL); //---- initialization done return(0); } //+------------------------------------------------------------------+ //| Accelerator/Decelerator Oscillator | //+------------------------------------------------------------------+ int start() { int limit; int counted_bars=IndicatorCounted(); double prev,current; //---- last counted bar will be recounted if(counted_bars>0) counted_bars--; limit=Bars-counted_bars; //---- macd counted in the 1-st additional buffer for(int i=0; i<limit; i++) ExtBuffer3[i]=iMA(NULL,0,5,0,MODE_SMA,PRICE_MEDIAN,i)-iMA(NULL,0,34,0,MODE_SMA,PRICE_MEDIAN,i); //---- signal line counted in the 2-nd additional buffer for(i=0; i<limit; i++) ExtBuffer4[i]=iMAOnArray(ExtBuffer3,Bars,5,0,MODE_SMA,i); //---- dispatch values between 2 buffers bool up=true; for(i=limit-1; i>=0; i--) { current=ExtBuffer3[i]-ExtBuffer4[i]; prev=ExtBuffer3[i+1]-ExtBuffer4[i+1]; if(current>prev) up=true; if(current<prev) up=false; if(!up) { ExtBuffer2[i]=current; ExtBuffer1[i]=0.0; } else { ExtBuffer1[i]=current; ExtBuffer2[i]=0.0; } ExtBuffer0[i]=current; } //---- done return(0); } //+------------------------------------------------------------------+
Comments