Download MetaTrader 5

Ichimoku iCustom cloud breakout please please help!!!

To add comments, please log in or register
prweza
270
prweza  

Hi,

I've got just a simple question on how to tell when the current price is above the cloud.

senkaspan A =iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANA,1);

senkanspan B= =iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANB,1);

Now as I understand, for current price to be above cloud, not future cloud ,close should be  greater than  senkanspanA and senkanspan B. However I'm confused by the very definition of senKA and SenKB which calculates current price and shifts it 26 periods in the future. So in order to find out the current cloud values should I instead shift SenKA and SenkB  back 26 periods and rewrite the iCustom values 

this way? i.e replace1 with 26?

senkaspan A =iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANA,26);

senkanspan B= =iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANB,26);

Will be very grateful for your help!!

prweza
270
prweza  
prweza:

Hi,

I've got just a simple question on how to tell when the current price is above the cloud.

senkaspan A =iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANA,1);

senkanspan B= =iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANB,1);

Now as I understand, for current price to be above cloud, not future cloud ,close should be  greater than  senkanspanA and senkanspan B. However I'm confused by the very definition of senKA and SenKB which calculates current price and shifts it 26 periods in the future. So in order to find out the current cloud values should I instead shift SenKA and SenkB  back 26 periods and rewrite the iCustom values 

this way? i.e replace1 with 26?

senkaspan A =iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANA,26);

senkanspan B= =iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANB,26);

Will be very grateful for your help!!


please help 
Denis Sartakov
1006
Denis Sartakov  
prweza:

please help 


if you write 

double chikouspan = iIchimoku(NULL,0,9,26,52,MODE_CHIKOUSPAN,1);

you will get 0(zero) because CHIKOUSPAN exist only from 26 bar to the left...

for this line you should use bar numder 26,27,28...

if you write 

double senkouspanA = iIchimoku(NULL,0,9,26,52,MODE_SENKOUSPANA,1);

you will get value for this line on bar number 1...

To add comments, please log in or register