this is not a 540 switch, its more like jacknife thing
i acually just did something like that and came to ask if it is a jacknife.
anyway your trick is half right. 540 switch is a kick like the one you did and after it you need to land on the other leg. its switching the legs not a kick kick followed by hyper hook thing.
now for my question: is this a jacknife?if yes is it acceptable?