Ichimoku iCustom cloud breakout please please help!!!

 

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:

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 
 
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...