Hi Michal, Well the script can't give different results but in two cases: a) the swaps are a volatile type ; b) swaps on demo are different from the ones on real. Check with MarketInfo both accounts for MODE_SWAPLONG, MODE_SWAPSHORT and MODE_SWAPTYPE. Regards, Bogdan P.S. Are you Michal Kreslik ? Hi Bogdan, the real account lists: 2008.09.07 13:32:00 list_ring NZDJPY,M5: CHFJPY SWAPLONG: 0.34 SWAPSHORT: -0.48 SWAPTYPE: 0 2008.09.07 13:32:00 list_ring NZDJPY,M5: GBPCHF SWAPLONG: 1.55 SWAPSHORT: -1.96 SWAPTYPE: 0 2008.09.07 13:32:00 list_ring NZDJPY,M5: EURGBP SWAPLONG: -0.19 SWAPSHORT: 0.13 SWAPTYPE: 0 2008.09.07 13:32:00 list_ring NZDJPY,M5: EURAUD SWAPLONG: -1.45 SWAPSHORT: 1.13 SWAPTYPE: 0 2008.09.07 13:32:00 list_ring NZDJPY,M5: AUDJPY SWAPLONG: 1.71 SWAPSHORT: -2.21 SWAPTYPE: 0 the demo account lists: 2008.09.07 13:35:39 list_ring NZDJPY,M5: CHFJPY SWAPLONG: 0.34 SWAPSHORT: -0.48 SWAPTYPE: 0 2008.09.07 13:35:39 list_ring NZDJPY,M5: GBPCHF SWAPLONG: 1.55 SWAPSHORT: -1.96 SWAPTYPE: 0 2008.09.07 13:35:39 list_ring NZDJPY,M5: EURGBP SWAPLONG: -0.19 SWAPSHORT: 0.13 SWAPTYPE: 0 2008.09.07 13:35:39 list_ring NZDJPY,M5: EURAUD SWAPLONG: -1.45 SWAPSHORT: 1.13 SWAPTYPE: 0 2008.09.07 13:35:39 list_ring NZDJPY,M5: AUDJPY SWAPLONG: 1.71 SWAPSHORT: -2.21 SWAPTYPE: 0 So the are the same. But the ring can be found only on the real account. Is there anything in the script which can cause it? (balance, spreads, etc) The ring is on the picture http://www.mqlservice.net/ring.JPG By the way, are you calculating the rings by minimal exposure? Would it be also possible to display on the final screen the resulting exposure? This will help to judge how good the ring is hedged. I'm not Michal Kersik but another Michal. My full name is Michal Rutka and I'm mostly known from MQL Service which is my company. You can see what I'm doing by visiting my site at MQL Service link Best regards, Michal Rutka